convert text to all lowercase characters
Format
tolower(text)
Parameter
|
Parameter
|
Definition
|
|
text
|
text that is to be returned as lowerercase letters The text can be a text string enclosed in double quotation marks,or one or more PSL commands that produce text as output |
Description
The tolower() function returns a copy of text with all uppercase letters converted to lowercase letters.
Example
Code:
function main() {
teststr="SOME ARE UPPER,some are lower,SoMe ArE mIxEd";
printf(" Original : %s\n",teststr);
printf("all lower : %s\n",tolower(teststr));
}
Output: