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 symbol 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 account numbers to uppercase.

Syntax:

STRUPPER ("String")

where:

  • String is a character string, enclosed in double quotation marks.

Code example:

CREATE VARIABLE StrTemp1 AS STRINGVariable = 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 symbol 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 account numbers to uppercase.

Syntax:

STRUPPER ("String")

where:

  • String is a character string, enclosed in double quotation marks.

Code example:

CREATE VARIABLE StrTemp1 AS STRINGVariable = 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