Upper function

Official Content
This documentation is valid for:

Returns the specified character expression in uppercase.

Syntax

Upper(character-expression)

Where:
character-expression
   Must be a Character Expression.

Type Returned:
Character

Scope

Objects: Procedure, Transaction, Web Panel
Generators: .NET, Java, Ruby (up to GeneXus X Evolution 3), Visual FoxPro (up to GeneXus X Evolution 3)

Description

Returns an upper-case character string from the character expression. Each lower-case letter (a - z) in the character expression is converted to upper-case (A - Z) in the returned string. All other characters remain unchanged.

Note: In Cobol and RPG for iSeries, the character expression can be up to 256 bytes long.

See Also

ToUpper method
Lower function