toUpperCase
Syntax: toUpperCase(string inputString)
Argument:
- inputString is the string that is converted to all uppercase letters.
Return Type: string
Description: Converts all letters to uppercase in the specified string. If the string parameter contains data that does not have an uppercase equivalent, such as numbers and special characters, those characters are returned unchanged.
Example:
string1 is a string initially "my Favorite IS 5".
string2 is a string.
string2 = toUpperCase(string1).
The result is that
string2
contains "MY FAVORITE IS 5".