Previous Topic Next topic Print topic


LOWERCASE Function

Purpose

Returns a character string with all the alphabetic characters from A to Z converted to their lowercase equivalent.

Syntax

LOWERCASE(x)

Parameters

x is an expression of type character. Conversion occurs if needed.

Examples

dcl s char (40) varying;
    
    s = 'Lead is an element with the symbol Pb';
    s = lowercase(s);
    put skip list (s);

will print:

lead is an element with the symbol pb

Restrictions

For structure expressions, only flat structures are allowed. Arrays, arrays of structures, and structure member arrays are not yet supported.

Previous Topic Next topic Print topic