Questions tagged [lowercase]

Lowercase characters are letters in minuscule: a, b, c, …

Lowercase characters are letters in minuscule: a, b, c, …

In ASCII, they are the characters in the range [a-z]. But other characters (for instance accented characters like é, è, ê, à, î, ï, ù) are also considered lowercase.

The counterpart of is .


See also: Letter case on Wikipedia

1025 questions
10
votes
3 answers

How to convert a String to lowercase using lambda expressions

I want to know how to convert a string to lowercase using the ToLower function (Char -> Char). This is the code I have so far: let newlist = (\(h:t) -> c (h) ++ newlist (\c -> toLower c) I can't see how to do it without using recursion, which I…
William
  • 109
  • 1
  • 2
  • 7
10
votes
2 answers

String replacement (to lowercase) in Bash 4.3.33 - bad substitution error

I'm trying to change uppercase to lowercase using string replacement in bash, but i'm getting a bad substitution error. > a=HEY > echo $a HEY > echo ${a,,} -bash: ${a,,}: bad substitution # desired output is hey I've seen similar questions to…
A-K
  • 147
  • 1
  • 1
  • 9
10
votes
6 answers

Changing a lowercase character to uppercase in c++

Here is the code that i wrote. When i enter a lowercase character such as 'a', it gives me a blank character but afterwards it works well. Can you tell me what i did wrong? Thanks. :) #include #include using namespace std; int…
Manisha Singh Sanoo
  • 919
  • 1
  • 13
  • 42
9
votes
11 answers

when using a array of strings in java, convert it to lowercase

I got a one dimensional array of strings in java, in which i want to change all strings to lowercase, to afterwards compare it to the original array so i can have the program check whether there are no uppercase chars in my strings/array. i've tried…
Rdhao
  • 107
  • 1
  • 1
  • 5
9
votes
1 answer

Text uppercase option in intellij?

Just imagine I have defined a list of static variables in lower case on my editor. Is there any option in intellij where I can select a portion of my source code and convert it into either upper/lower case?
Supun Wijerathne
  • 11,964
  • 10
  • 61
  • 87
9
votes
3 answers

How does s[i]^=32 convert upper to lower case?

int main() { string s; cout << "enter the string :" << endl; cin >> s; for (int i = 0; i < s.length(); i++) s[i] ^= 32; cout << "modified string is : " << s << endl; return 0; } I saw this code which converts…
Rashed Sami
  • 141
  • 1
  • 4
  • 12
9
votes
2 answers

Convert entire range to lowercase without looping through cells Indirect

I'm looking at VBA code that takes an entire range of cells and converts them into lowercase. I found the following: [A1:A20] = [index(lower(A1:A20),)] This works fine for a fixed range (don't entirely understand syntax, but found the following…
MartijndR
  • 101
  • 1
  • 6
9
votes
1 answer

How does toLowerCase() work in Javascript?

I understand that using that function will make an entire string all lowercase. However, I'm curious in the behind the scenes work. I can't find an explanation anywhere on how it works. Does it basically loop through every index in the string and…
rachiebytes
  • 542
  • 1
  • 5
  • 20
9
votes
3 answers

Why does the towlower() function not convert the Я to a lower-case я?

The function towlower() doesn't seem to work in Visual Studio 2012. Here's an example: #include #include #include #include #include using namespace std; int main() { _setmode(_fileno(stdout),…
Johnny Mnemonic
  • 3,822
  • 5
  • 21
  • 33
9
votes
16 answers

how to convert Lower case letters to upper case letters & and upper case letters to lower case letters

Alternately display any text that is typed in the textbox // in either Capital or lowercase depending on the original // letter changed. For example: CoMpUtEr will convert to // cOmPuTeR and vice versa. …
akki0996
  • 713
  • 2
  • 6
  • 14
8
votes
6 answers

Permutate a String to upper and lower case

I have a string, "abc". How would a program look like (if possible, in Java) who permute the String? For example: abc ABC Abc aBc abC ABc abC AbC
Francisco
  • 99
  • 1
  • 2
8
votes
4 answers

How do I detect if a character is uppercase or lowercase?

Let's say I extract a single character from a NSString like this: [@"This is my String" characterAtIndex:0] How do I find out if the character I get is a lowercase or uppercase character? Thanks for any adivice!
Funkybit
  • 359
  • 1
  • 2
  • 15
8
votes
3 answers

What is the standard algorithm for converting unicode characters into lowercase?

I want to know the standard algorithm for converting unicode characters into lowercase as proposed by unicode.org. Also, do most programming languages follow this proposed standard?
Albert
  • 3,611
  • 3
  • 28
  • 52
8
votes
3 answers

Python: How to check if a unicode string contains a cased character?

I'm doing a filter wherein I check if a unicode (utf-8 encoding) string contains no uppercase characters (in all languages). It's fine with me if the string doesn't contain any cased character at all. For example: 'Hello!' will not pass the filter,…
Albert
  • 3,611
  • 3
  • 28
  • 52
8
votes
2 answers

mysql enum is not case sensitive it match the first one without case-sensivity

I have enum field that contains lowercase and uppercase of a same letter, when I try to update a row and change the value it doesn’t work. this is the way how reproduce the problem: CREATE TABLE `mytable` ( `id` bigint(20) NOT NULL, `name`…
Mohse Taheri
  • 741
  • 1
  • 6
  • 23