Converts the case of the characters in a string to uppercase.
Syntax
string string.ToUpper()
Returns
A copy of the string with each of its characters converted to uppercase.
Sample
stringSample.rfsvar str = "My hovercraft is full of eels."; ... var g = str.ToUpper(); trace str, "What? I said ", g;
stringSample.rfs
var str = "My hovercraft is full of eels."; ... var g = str.ToUpper(); trace str, "What? I said ", g;
str.ToUpper()
"My hovercraft is full of eels.", "What? I said ", "MY HOVERCRAFT IS FULL OF EELS."
Figure 333. The trace message output of the script above
Related links
Search Highlighter (On/Off)