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
-3
votes
3 answers

I have a program that capitalizes all words of a string. The program is working but I want to understand what the code is doing

#include char *cap_string(char *str); int main(void) { char str[] = "Expect the best. Prepare for the worst. Capitalize on what comes.\nhello world! hello-world 0123456hello world\thello world.hello world\n"; char *ptr; ptr =…
-3
votes
3 answers

I need to choose strings beginning with capital letters and possibly ending with lower case

I need to pick strings from a body of text in set beginning with upper case and ending with lower case. This can include one letter capital words and exclude longer strings with all letters capital, e.g. from this: "A", "AbA", "Ab", "b", "bA",…
-3
votes
1 answer

.lower is not working for my code in pycharm

I am new to python and here is my code and .lower usually works but this time it isn't. technical_dict = { dict : 'stores a key/value pair', list : 'stores a value at each index', map : 'see dict', set : 'stores…
-3
votes
2 answers

Turning the Nth (input from user) number into Uppercase and the rest will be in Lowercase

I will ask this again. I have this problem which is to create a program that would read a string input from the user (sentence or word). And the Nth number (from the user) will turn into upper case and the rest will be in lowercase. Example: string…
-3
votes
1 answer

Why does this Java code not convert files?

Write a Java program that reads a text file and writes the content into a new file. During the read-write process, convert all the upper case letters into lower case ones. In other words, your programming task is to create a new file with the same…
casey411
  • 1
  • 2
-3
votes
1 answer

Getting error message: AttributeError: 'list' object has no attribute 'lower' in Python

I have the problem, that I am trying to run a function which has as input an array of strings and before making some if-statement I am lowering the strings. somehow i am receiving the error message AttributeError: 'list' object has no attribute…
JonDoe
  • 107
  • 7
-3
votes
1 answer

How to Iterate through the Keys of a Dictionary and Lowercase them?

I have this dictionary of lists: Dict = {'Name':['John','Seth'], 'Gender':['Male','Male'], 'Zip':['68112','22200']} How to iterate through the keys of this list and make them in lowercase? The output should be like: Dict = {'name':['John','Seth'],…
MEhsan
  • 2,184
  • 9
  • 27
  • 41
-3
votes
1 answer

Javascript - First letter uppercase, the rest lower case

I need strings to be transformed, having the first letter uppercase, and all the rest lowercase, to store in my database. For example, the user inputs name="john"; And I need it to be transformed into name="John";
Ema Black
  • 63
  • 1
  • 12
-3
votes
2 answers

Why does my code not return when I write in lower case?

So I have this code: welcome = input() if (welcome.lower() == "Hello") or (welcome.lower() == "Hey") or (welcome.lower() == "Hej"): input("Hello,\n" + "my name is Misty.") else: print ("That way of saying hello is new to me, should i save it…
Mads
  • 1
-3
votes
1 answer

Lowercase characters to Uppercase characters in C & writing to file

I am reading content from a file to be read into a char array in C. How could I change all the letters in the file that are lowercase to uppercase letters?
-3
votes
2 answers

How to change uppercase to lowercase in a string?

The overall goal of this program is to count the occurrences of a word that the user inputs. To do this I need all of the words in this long string to be lowercase. I do not want to print the entire string with print s.lower() I just want this to…
-3
votes
4 answers

tolower() and toupper() aren't working

My code is here: char* kropecka(char* tab) { int a=0,b=0; char* zwr; zwr=(char*)malloc(30*sizeof(char)); for(a;strlen(tab);a++) { if(tab[a]!='.') { if(isupper(tab[a])) …
1_bug
  • 5,505
  • 4
  • 50
  • 58
-3
votes
4 answers

php upper and lowercase without built in function

Hey guys i want to convert a string from lowercase to uppercase and vice versa without using any built in functions strtoupper or strtolower in php, can anyone help me please. edit: I can use some other functions to do the job, like substr(), ord(),…
zniz
  • 95
  • 1
  • 8
-4
votes
3 answers

Python change lowercase to uppercase

I need help with python program. I don't know how to make python change at least 1 lowercase letter to uppercase. from random import * import random pin="" lenght=random.randrange(8,15) for i in range(lenght): …
ado
  • 5
  • 4
-4
votes
1 answer

How to separate lowercase and uppercase letters with commas?

Neriman KivrakCanan AcerTurkiye El MohammedAyse Ozgecan becomes Neriman Kivrak, Canan Acer, Turkiye El Mohammed, Ayse Ozgecan