tolowercase/2 and lower/2—convert a string to all lowercase characters
The tolowercase/2 and lower/2 functions convert a string to all lowercase characters.
The syntax for tolowercase/2 function is as follows:
tolowercase($ORGSTR,$NEWSTR})
$NEWSTR=tolowercase($ORGSTR)
$NEWSTR=lower($ORGSTR)
$NEWSTR=tolowercase($ORGSTR)
$NEWSTR=lower($ORGSTR)
tolowercase/2 and lower/2 arguments
| Argument | Mode | Type | Description | 
|---|---|---|---|
| $ORGSTR | Input | STRING | Specifies the string to be converted to lowercase | 
| $NEWSTR | 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);
Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*
