STR_UC, CONV_UC

Use the STR_UC or CONV_UC script function to convert all letters in a string to uppercase. These two functions are functionally identical. Numbers and special characters remain unchanged.

Syntax

STR_UC (String)

CONV_UC (String)

Parameters

Parameter Description Format
String The alphanumeric string to convert to uppercase Script literal or script variable

Return Codes

Return Value Condition
String The input string with all letters converted to uppercase

Examples

The following example converts a string literal to uppercase. The result is ABCDEFGH 123&%$§.

: SET &STRING# = CONV_UC ("abcdefgh 123&%$§")

The following example stores a string in a variable and passes it to the function. The result stored in &STRING# is PLEASE START THE BACKUP ROUTINE!

: SET &MSG# = "Please start the backup routine!"

: SET &STRING# = CONV_UC (&MSG#)

See also: