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.
This page has no comments yet. Be the first one!