Returns a character string with all the alphabetic characters from A to Z converted to their lowercase equivalent.
LOWERCASE(x)
x is an expression of type character. Conversion occurs if needed.
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
For structure expressions, only flat structures are allowed. Arrays, arrays of structures, and structure member arrays are not yet supported.