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

Split string First and Lastname (Capitals and Lowercase)

To save the first and lastname in a mysql database I need to split the string. Above you can see a few examples. What is the best way to split this…
soccerfan
  • 11
  • 4
-4
votes
1 answer

Adding a function to java program

I am writing my very first java program, I finally got it all written but on the assignment I need to add a function (other than main). My program counts the number of letter in first name, so I was thinking maybe I could add a function that reads…
B_logan
  • 1
  • 1
-4
votes
1 answer

Read a file of unknown size/length, strip non-alphabetic chars, and change uppercase to lower

then it has to be printed to the screen 80 chars per line. this is done in c. My coding is super weak and don't know where to begin. Any help is appreciated
zvbat
  • 3
  • 3
-4
votes
4 answers

Converting Lowercase array to Uppercase without using toUpperCase()

First off this is a homework assignment and I'm looking for some help because I'm stuck. I've been working on this for hours and couldn't figure it out. I'm trying to take a user input as a string and store it as a char array and output the…
Vishal
  • 110
  • 2
  • 11
-4
votes
2 answers

Finding frequency of characters both upper case and lower case in a file c program

I tried a lot of thing but when I chose 2 to count upper case and lower case separately the result was garbage, I don't know what is wrong with this, while doesn't care if lower case or upper case it still works correctly. #include…
user3576946
  • 1
  • 1
  • 4
-4
votes
3 answers

Why is String.toUpperCase() so slow?

This code is about 3 times faster than the standard String.toUpperCase() function: public static String toUpperString(String pString) { if (pString != null) { char[] retChar = pString.toCharArray(); for (int idx = 0; idx <…
EarlB
  • 111
  • 2
  • 7
-4
votes
2 answers

I'm searching for a word in a String array with the largest number of capital letters

My array contains 3 elements which describe 3 different 'singers', every singer has an abstract String method which returns 'lyrics'. Lyrics contain lower and uppercase letters, the singer who has the largest number of uppercase letters is the one…
1qazxsw2
  • 5
  • 4
-4
votes
3 answers

How to count the number of uppercase letters, lowercase letters, and digits in a string?

I want to write a program in C++ which gets a string from the user and outputs the number of uppercase letters, lowercase letters and digits. e.g. for input "aKb12CD34" the result should be 2 lowercase letters, 3 uppercase letters, and 4 digits.
Sepehr Student
  • 23
  • 1
  • 1
  • 6
-4
votes
2 answers

Uppercase problems

How can I output this when I'm using Replace and ToUpper in visual studio c# FirstName Here's my code: private void button1_Click(object sender, EventArgs e) { string input; input = comboBox1.Text; input = input.Replace("_", ""); …
Amped
  • 1
  • 1
-4
votes
2 answers

Differences in variables

Is $abc equal to $Abc in variables? I found two sites about lua and some programming language I don't understand. Others goes about posts on S.O. but about arrays in PHP. Anothers on other website goes about making strings uppercase or lowercase. My…
Rik Telner
  • 179
  • 1
  • 10
-4
votes
2 answers

How to convert letters to UpperCase without uc() function?

I'm trying to write a script which will convert all letters from lowercase to uppercase without using the uc() function.
PYPL
  • 1,819
  • 1
  • 22
  • 45
-5
votes
3 answers

why the output of this code is the same in the array?

I saw this code on YouTube. The code should turn all lower case strings (ab ,cd) into upper case string but when I tried this code the output was the same as the array without change. I want know what is going on behind the scenes. x = ['ab',…
py.flow
  • 3
  • 2
-5
votes
2 answers

Convert first 2 letters of all records to Uppercase in python

I have a dataframe DF with just 1 column and I want to uppercase first 2 letters of all the records in python. how do I do that ?
Yuvraj Singh
  • 37
  • 1
  • 1
  • 6
-5
votes
3 answers

upper case function C++

I am having problems with my convert String to upper case function. I have two functions right now reverse word and Upper case. reverse currently works and outputs information backwards but for some reason, uppercase wont. I have a menu which allows…
Gale23
  • 1
-5
votes
2 answers

Powershell & Regex - How to find and delete uppercase characters from file names in directory

I need a Powershell script that will find and replace uppercase characters within all the filenames within a directory with nothing. The script would do something like this: Filename BEFORE: CAPITAL-letters.jpg Filename AFTER: -letters.jpg Edit: I…
abednabir
  • 33
  • 5
1 2 3
91
92