StrUpper
Use this function to convert text in a symbol or character string to uppercase letters.
You may find the StrUpper function useful for comparison purposes. For example, suppose a complete account number in your system appears in the format A11234, but with either an uppercase or lowercase A.
You can use the StrUpper function to convert all lowercase letters in symbols to uppercase.
Syntax:
STRUPPER (SymName|"String")
where:
- SymName is the name of a symbol.
- String is a character string, enclosed in double quotation marks.
Syntax example:
UppCase = STRUPPER ("a11234")
Example:
CREATE VARIABLE StrTemp1 AS STRING
Variable = STRUPPER ("SourceString")
SET VARIABLE StrTemp1 = STRUPPER ("StringTest")
StrTemp1 will equal "STRINGTEST" (without the double quotation marks)