Questions tagged [uppercase]

Uppercase characters are capital letters.

Uppercase characters are capital letters: 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 uppercase.

The counterpart of is .


See also: Letter case on Wikipedia

1373 questions
-3
votes
1 answer

How to convert lower case string to uppercase string in C++

Hi I want to create a program where I will input different names and I will output it in UPPERCASE FORM. However there's a bug in my code, can you help me to figure it out? It said "[Error] no match for 'operator>=' (operand types are 'std::string…
kenmark
  • 1
  • 2
-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
2 answers

How to temporarily uppercase the string variable in a foreach loop?

I currently have the following code: foreach (string s in lstSearchStrings.Items) { int cnt = CountSubStrings(fileText, s); if (cnt > 0) { string cs = cnt.ToString().PadLeft(5); lstCounts.Items.Add(cs); …
-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

How to convert a "apple"to "APPLE" with ascii code using flowchart

How to convert a "apple"to "APPLE" with ascii code using flowchart i wrote it with python put how can i convert it to flowchart sum='' i=1 while i<=5: a1=input("plz input character : ") a=chr(ord(a1)-32) sum=sum+a i=i+1 print (sum) …
-3
votes
3 answers

How to convert lowercase characters of a string to uppercase characters in C++?

I have a question where all lowercase characters of a string should be converted into uppercase characters.But as per the question, certain lines in the code should not be changed. I have written the code below. #include #include…
Aanandhi V B
  • 79
  • 2
  • 10
-3
votes
1 answer

How to upper case a string of auto created property in a PHP class like in JavaScript?

I need to transform to uppercase a string setted by dynamic __set constructor of my PHP class. Just like JavaScript .toUpperCase() function. Exemple: $myObject = new Post(); $myObject->fooVar = 'Upper Case…
-3
votes
3 answers

Why the program output is not displaying each string separately after getting UpperCased?

the program is written for converting every first letter of the word to UpperCase public class MainClass { public static void main(String[] args) { int i; String toBeCapped=""; String str[] ={"This is a ball","This is…
-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
3 answers

Conversion of a specific character in a string to Upper Case

How can I convert a specific letter in a string, i.e all the the as in 'ahdhkhkahfkahafafkh' to uppercase? I can only seem to find ways to capitalize the first word or upper/lower case the entire string.
Finlandia_C
  • 385
  • 6
  • 19
-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
1 answer

regex match uppercase words and replace to capitalize

For example: "How to Connect Serial ATA Hard HP 3D Drives" I want to replace "ATA" to "Ata" by regex in ruby, but not including "3D". mostly English words. another example: "CD/DVD STORAGE WALLET-80 PCS Nylon" => "CD/DVD Storage Wallet-80 Pcs…
wkang
  • 411
  • 1
  • 6
  • 12
-3
votes
2 answers

PHP / MySQL - Write and check UPPERCASE in database

I have the following code to write the name and score of a player into a highscore table. How can I write the 'name' in uppercase into the database? if(isset($_GET['name']) && isset($_GET['score'])) { $name =…
hansistr
  • 1
  • 2
-3
votes
2 answers

Ruby, parse uppercase letters from array of names

I have a list of names in an array in Ruby: names = ["John Smith","Bob Miller"] So I want to do a regex and get this array: namesRegex = ["JS","BM"] This is, I extract the uppercase characters from the string, merge them and put them in a new…
Tripon
  • 81
  • 1
  • 10