Unsupported content This version of the documentation is no longer supported. However, the documentation is available for your convenience. You will not be able to leave comments.

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. 

Note

The upper/2 function has the same functionality as touppercase/2 but exists only as a function.

touppercase($ORGSTR,$NEWSTR)
$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*