Tip: See also the IDL_String::ToLower method, which provides similar functionality but with an object-oriented interface.
The STRLOWCASE function returns a copy of String converted to lowercase characters. Only uppercase characters are modified—lowercase and non-alphabetic characters are copied without change.
To convert the string “IDL is fun” to all lowercase characters and print the result, enter:
PRINT, STRLOWCASE('IDL is fun')
idl is fun
Result = STRLOWCASE(String)
Returns a string composed of lowercase characters.
The string to be converted. If this argument is not a string, it is converted using IDL’s default formatting rules. If String is an array, the result is an array with the same structure—each element contains a lower case copy of the corresponding element of String.