Routines (alphabetical) > Routines: S > STRLOWCASE

STRLOWCASE

Syntax | Return Value | Arguments | Keywords | Examples | Version History | See Also

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.

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.

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

Version History

Original

Introduced

See Also

STRUPCASE