tolowercase/2 and lower/2—convert a string to all lowercase characters - Documentation for BMC TrueSight Infrastructure Management 11.0
Emma Powell The tolowercase/2 and lower/2 functions convert a string to all lowercase characters.
Note
The lower/2 function has the same functionality as tolowercase/2 but exists only as a function.
The syntax for tolowercase/2 function is as follows:
tolowercase($ORGSTR,$NEWSTR})
$NEWSTR=tolowercase($ORGSTR)
$NEWSTR=lower($ORGSTR)tolowercase/2 and lower/2 arguments
Argument | Mode | Type | Description |
|---|---|---|---|
| Input | STRING | Specifies the string to be converted to lowercase |
| Output | STRING | Returns the all lowercase version of original string |
Use the tolowercase/2 function to convert the original string specified in the $ORGSTR argument to the same string in all lowercase characters returned in $NEWSTR. This function is locale sensitive.
tolowercase/2 example
$E.mc_host = tolowercase($E.mc_host);