Change String to Uppercase Method

The Change String to Uppercase method modifies every character that resides in the stringVar variable that is in lowercase to the uppercase equivalent. It returns a copy of this string that includes all uppercase characters.

Format

stringVar.toUpperCase()

The following example accepts a file name as input and displays it in uppercase:

  var filename = "c:\\temp\\trace.txt";;
  TheApplication().RaiseErrorText("The filename in uppercase is " 
+filename.toUpperCase());