Returns true if the first character of a string is alphabetic and uppercase.

Syntax

ISUPPER(<expC>)

<expC>

The string you want to test.

Description

ISUPPER( ) tests the first character of the string and returns true if it’s an uppercase alphabetic character. ISUPPER( ) returns false if the character isn’t uppercase or if the character expression is empty.

The current language driver defines the character values that are lowercase and uppercase alphabetic. In a U.S. language driver, a lowercase alphabetic character is from a to z, and an uppercase alphabetic character is from A to Z.

Other than the syntactic difference of being a method instead of a function, the isUpper( ) method behaves identically to the ISUPER( ) function.