touppercase/2 and upper/2—convert a string to all uppercase characters
The touppercase/2 and upper/2 functions convert a string to all uppercase characters.
touppercase($ORGSTR,$NEWSTR)
$NEWSTR=touppercase($ORGSTR)
$NEWSTR=upper($ORGSTR)
$NEWSTR=touppercase($ORGSTR)
$NEWSTR=upper($ORGSTR)
touppercase/2 and upper/2 arguments
Argument | Mode | Type | Description |
---|---|---|---|
$ORGSTR | Input | STRING | Specifies the string to be converted to uppercase |
$NEWSTR | Output | STRING | Returns the all uppercase version of original string |
Use the touppercase/2 function to convert the string specified in the $ORGSTR argument to the same string in all uppercase characters returned in $NEWSTR. This function is locale sensitive.
touppercase/2 example
$E.mc_host = touppercase($E.mc_host);
Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*