Uppercase text exampleAlternatively referred to as caps and capital, uppercase (UC) is a typeface of larger characters. For example, a, b, and c is lowercase and A, B, and C is uppercase. Pressing the caps lock key will change between upper and lowercase characters or pressing the shift key while pressing a letter makes that letter capitalized.

Tip: It is bad etiquette to have everything you type in ALL UPPERCASE CHARACTERS. When reading anything that is typed in all caps most readers assume you are yelling or just find the text hard to read.

Using the uc command

Many programming and scripting languages use the uc command to convert a variable into uppercase. For example, in the example below is how the uc and ucfirst command can be used in Perl.

my $example = "hello world";
$example = ucfirst($example);
$example = uc($example);

In the above example, the $example variable is first set as all lowercase. The second line uppercases the first character making the text "Hello World", and the last line uppercases the whole string making the text "HELLO WORLD".

Related pages

Also see: Caps lock, Case, Case sensitive, Character, Font, Lowercase, Typography terms