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
8
votes
6 answers

if/else statements accepting strings in both capital and lower-case letters in python

Is there a quick way for an "if" statement to accept a string regardless of whether it's lower-case, upper-case or both in python? I'm attempting to write a piece of code where the number "3" can be entered as well as the word "three"or "Three" or…
SkyBlade16395
  • 117
  • 1
  • 1
  • 12
8
votes
1 answer

Search and replace across multiple lines with conversion to lower case in Vim

Here's what I'd like to do, for each one of many files: search for all occurrences of convert the entire match to lowercase
Olivier Pons
  • 15,363
  • 26
  • 117
  • 213
8
votes
1 answer

regex to change href link to lowercase

I have pages with links like: href="FileName-One-Example.html" I need to a regular expression command with Notepad++ to change the case of the anything between href=" nad the ending " to lowercase, and leave everything before and after it in the…
Mike
  • 2,051
  • 4
  • 28
  • 46
8
votes
3 answers

python: lower() german umlauts

I have a problem with converting uppercase letters with umlauts to lowercase ones. print("ÄÖÜAOU".lower()) The A, O and the U gets converted properly but the Ä,Ö and Ü stays uppercase. Any ideas? First problem is fixed with the .decode('utf-8') but…
user2104634
  • 83
  • 1
  • 4
7
votes
3 answers

MySQL - Select where first character is lowercase or uppercase

Sorry if this is something that was asked before, but I am not able to find the answer to this. How do I create a MySQL select statement to select all strings from the database whose first characters is either in lowercase or uppercase. I'd…
jjj
  • 2,594
  • 7
  • 36
  • 57
7
votes
4 answers

Space between lowercase and uppercase letters in a string in JavaScript

I want to add a space between a lowercase and uppercase in one string. For example: FruityLoops FirstRepeat Now I want to add a space between the lowercase and uppercase letters. I don't know how I should start in JavaScript. Something with substr…
Frank
  • 499
  • 2
  • 10
  • 22
7
votes
3 answers

Check if string has letter in uppercase or lowercase

i would like to know if it's possible check if one letter of a string is capitalized. Other way to see it, if all letters in the string are uppercase or lowercase. Example: string a = "aaaaAaa"; string b = "AAAAAa"; if(??){ //Cheking if all the…
user7024664
7
votes
2 answers

Turn off upper-case for table and column names in HSQL?

How to turn off forced upper-case mode for table and column names in HSQL? hsqldb 2.3.1 OS: Windows 7 x64
Arthur
  • 1,156
  • 3
  • 20
  • 49
7
votes
3 answers

python .lower() is not working

I don't know what I'm doing wrong, but the function .lower() in my python code is not working! It's a sily code, but it does not lower de cases of the word: score = {"a": 1, "c": 3, "b": 3, "e": 1, "d": 2, "g": 2, "f": 4, "i": 1, "h": 4,…
Victor Zuanazzi
  • 1,838
  • 1
  • 13
  • 29
7
votes
4 answers

Convert url to lower case using htaccess except query string

Am struggling with a htaccess problem. I need to convert all the URLs from uppercase to lowercase. But the query string alone should be the same. For example, www.tESTUrl.com/sOMePath/?q=SomeStringHere should be converted…
7
votes
2 answers

Doctrine Query Builder LOWER not working

Somehow doctrine is not allowing me to compare two lowerstring values: that of a variable and the first name of a user. $qb = $this->getEntityManager()->createQueryBuilder(); $qb ->select('d') ->from('MyBundle:User', 'd') …
xfscrypt
  • 16
  • 5
  • 28
  • 59
7
votes
4 answers

Converting wide char string to lowercase in C++

How do I convert a wchar_t string from upper case to lower case in C++? The string contains a mixture of Japanese, Chinese, German and Greek characters. I thought about using…
Nitramk
  • 1,542
  • 6
  • 25
  • 42
7
votes
1 answer

Lower case an entire string in Racket

Is there a way to turn all of the characters in a string into lower case in Racket? The only way I can think of is turning char-downcase but it won't work with strings I am using the beginner language so I can't use some functions
user2113651
  • 153
  • 2
  • 10
7
votes
4 answers

PHP: Convert html-entity-encoded uppercase character to lowercase

How can I convert the upper-case html entity characters to their lowercase? $str = "É"; //É $res = strtolower( $str ); echo $res; http://codepad.viper-7.com/Zf3RTe
Martin
  • 2,007
  • 6
  • 28
  • 44
7
votes
8 answers

How to let Python recognize both lower and uppercase input?

I am new to Python. I am writing a program that distinguishes whether or not a word starts with a vowel. The problem is, that the program is only able to correctly handle uppercase letters as input. For example, if I provide the word "Apple" as…
user1718826
  • 347
  • 5
  • 7
  • 11