Upper Function

Official Content
This documentation is valid for:

To return the specified character expression in uppercase.

Syntax

Upper(character-expression)

Type Returned:
Character

Where:
character-expression
   Must be a Character Expression.

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. 

Scope

Objects: Procedures, Transactions, Web Panels
Languages: .NET, Java, Ruby, Visual FoxPro

See Also

ToUpper Method
Lower function








Was this page helpful?
What Is This?
Your feedback about this content is important. Let us know what you think.