Skip to main content
insightsoftware Documentation insightsoftware Documentation
{%article.title%}
Published:
Was this article helpful?
0 out of 0 found this helpful

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.

Copy

Syntax

STRUPPER (SymName|"String")             

where:

  • SymName is the name of a symbol.
  • String is a character string, enclosed in double quotation marks.
Copy

Syntax example

UppCase = STRUPPER ("a11234")            
Copy

Example

CREATE VARIABLE StrTemp1 AS STRING
Variable = STRUPPER ("SourceString")
SET VARIABLE StrTemp1 = STRUPPER ("StringTest")
 
StrTemp1 will equal "STRINGTEST" (without the double quotation marks)        

Published:

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.

Copy

Syntax

STRUPPER (SymName|"String")             

where:

  • SymName is the name of a symbol.
  • String is a character string, enclosed in double quotation marks.
Copy

Syntax example

UppCase = STRUPPER ("a11234")            
Copy

Example

CREATE VARIABLE StrTemp1 AS STRING
Variable = STRUPPER ("SourceString")
SET VARIABLE StrTemp1 = STRUPPER ("StringTest")
 
StrTemp1 will equal "STRINGTEST" (without the double quotation marks)        

For an optimal Community experience, Please view on Desktop