Returns the calling string value converted to uppercase.
String
toUpperCase()
The toUpperCase method returns the value of the string converted to uppercase. toUpperCase does not affect the value of the string itself.
The following example displays the string "ALPHABET":
String.toLowerCase