STRLOWCASE

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.

Examples

To convert the string “IDL is fun” to all lowercase characters and print the result, enter:

PRINT, STRLOWCASE('IDL is fun')

IDL prints:

idl is fun

Syntax

Result = STRLOWCASE(String)

Return Value

Returns a string composed of lowercase characters.

Arguments

String

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.

Keywords

None.

Version History

Original

Introduced

See Also

String Operations, String Processing, STRUPCASE, IDL_String