ISUPPER( ) Function

Determines whether the first character in a character expression is an uppercase alphabetic character.

ISUPPER(cExpression)

Parameters

  • cExpression
    Specifies the character expression that ISUPPER( ) evaluates. Any characters after the first character in cExpression are ignored.

Return Value

Logical

Remarks

ISUPPER( ) returns true (.T.) if the first character in a character expression is an uppercase alphabetic character; otherwise, ISUPPER( ) returns false (.F.).

Example

? ISUPPER('Redmond')  && Displays .T.
? ISUPPER('redmond')  && Displays .F.

See Also

Reference

ISALPHA( ) Function
ISLOWER( ) Function
LOWER( ) Function
UPPER( ) Function

Other Resources

Functions
Language Reference (Visual FoxPro)