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. It can be converted to character.

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

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

Previous Topic Next topic Print topic