C5_ISUPPER

 ISUPPER()
 Determine if the leftmost character in a string is uppercase
------------------------------------------------------------------------------
 Syntax

     ISUPPER(<cString>) --> lBoolean

 Arguments

     <cString> is the character string to be examined.

 Returns

     ISUPPER() returns true (.T.) if the first character is an uppercase
     letter; otherwise, it returns false (.F.).

 Description

     ISUPPER() is a character function that determines whether the first
     character of a string is uppercase.  It is the inverse of ISLOWER().
     Both ISUPPER() and ISLOWER() relate to the UPPER() and LOWER() functions
     which actually convert uppercase characters to lowercase, and vice
     versa.

 Examples

     .  These examples illustrate ISUPPER() applied to various values:

        ? ISUPPER("AbCdE")         // Result: .T.
        ? ISUPPER("aBCdE")         // Result: .F.
        ? ISUPPER("$abcd")         // Result: .F.
        ? ISUPPER("8ABCD")         // Result: .F.

 Files   Library is CLIPPER.LIB.

See Also: ISALPHA() ISDIGIT() ISLOWER() LOWER() UPPER()

 

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.