Purpose
Returns the string that results from converting all characters to lowercase.
Syntax
►►─── TOLOWER ( string ) ─────────────────────────────────────────────────────►◄
Parameters
Specifies the string value on which the lowercase function is performed.
String can be:
Example
In the following example, the lowercase function is used to convert all characters in the last name to lowercase:
Initial value:
EMP-LNAME: 'LANCHESTER '
Statement:
MOVE TOLOWER(EMP-LNAME) TO WK-EMP-LNAME.
Returned string:
'lanchester '
|
Copyright © 2014 CA.
All rights reserved.
|
|