Share via


UPPER( ) Function

Returns the specified character expression in uppercase.

UPPER(cExpression)

Return Value

Character

Parameters

  • cExpression
    Specifies the character expression UPPER( ) converts to uppercase.

Remarks

Each lowercase letter (a – z) in the character expression is converted to uppercase (A – Z) in the returned string. This is true for high-ASCII characters as well, even if the current font does not display them as lowercase accented characters.

Example

CLEAR
? UPPER('abcdefgh')  && Displays ABCDEFGH

See Also

Reference

ISLOWER( ) Function

ISUPPER( ) Function

LOWER( ) Function

PROPER( ) Function

Other Resources

Functions

Language Reference (Visual FoxPro)