Converting the Case of Strings

You can convert the case of a string or reference to a string variable by using the ^ operator. The ^ operator converts all lowercase alphabetic characters, a through z, to their uppercase equivalents. Local language characters are not affected.

The following example shows that after the substitution is performed, the string is converted to uppercase:

^"This is an \MESSAGE [1,10]\ message"

If the string "upper case" comprises the ten characters substituted in the pattern, the resulting string would be

THIS IS AN UPPER CASE MESSAGE

The following example changes the value of StringVar to uppercase:

SET StringVar = ^StringVar