The STRUPCASE function returns a copy of String converted to upper case. Only lowercase characters are modified—uppercase and non-alphabetic characters are copied without change.
To print an uppercase version of the string “IDL is fun”, enter:
IDL IS FUN
Result = STRUPCASE(String)
Returns a string composed of uppercase characters.
The string to be converted. If this argument is not a string, it is converted using IDL’s default formatting rules. If it is an array, the result is an array with the same structure where each element contains an uppercase copy of the corresponding element of String.
This page has no comments yet. Be the first one!