Places the text in a String object in uppercase characters.
Syntax
Parameters
Returns
It returns a copy of the String object, with all of the lowercase characters converted to uppercase. The original value is unchanged. It has no effect on nonalphabetic characters.
Example
s = "Hello World"; r = s.toUpperCase(); trace(r); //output: HELLO WORLD