Official Content

Returns the specified character expression in uppercase.

Syntax

Upper(character-expression)

Where:

character-expression
       Is any valid expression that can involve constants, functions, methods, Procedures, variables, attributes, Inline Formulas. The result must match the character data type.

Type Returned:
Character

Scope

Objects: Procedure, Transaction, Web PanelPanel, Data Provider
Generators: .NET, .NET, Java, Ruby (up to GeneXus X Evolution 3), Visual FoxPro (up to GeneXus X Evolution 3), Apple, Android, Angular

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


   


Last update: February 2024 | © GeneXus. All rights reserved. GeneXus Powered by Globant