IDL

STRUPCASE

STRUPCASE

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.

Examples


To print an uppercase version of the string “IDL is fun”, enter:

PRINT, STRUPCASE('IDL is fun')

IDL prints:

IDL IS FUN

Syntax


Result = STRUPCASE(String)

Return Value


Returns a string composed of uppercase 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 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.

Keywords


None.

Version History


Original

Introduced

See Also


String Operations, String Processing, STRLOWCASE



Notes


This page has no user notes yet. Be the first one!


This information is not subject to the controls of the International Traffic in Arms Regulations (ITAR) or the Export Administration Regulations (EAR). However, it may be restricted from transfer to various embargoed countries under U.S. laws and regulations.
© 2014 Exelis Visual Information Solutions