C5_ISALPHA

 ISALPHA()
 Determine if the leftmost character in a string is alphabetic
------------------------------------------------------------------------------
 Syntax

     ISALPHA(<cString>) --> lBoolean

 Arguments

     <cString> is the character string to be examined.

 Returns

     ISALPHA() returns true (.T.) if the first character in <cString> is
     alphabetic; otherwise, it returns false (.F.).

 Description

     ISALPHA() is a character function that determines if the specified
     string begins with an alphabetic character.  An alphabetic character
     consists of any uppercase or lowercase letter from A to Z.  ISALPHA()
     returns false (.F.) if the string begins with a digit or any other
     character.

 Examples

     .  These examples demonstrate various results of ISALPHA():

        ? ISALPHA("AbcDe")               // Result: .T.
        ? ISALPHA("aBcDE")               // Result: .T.
        ? ISALPHA("1BCde")               // Result: .F.
        ? ISALPHA(".FRED")               // Result: .F.

 Files   Library is EXTEND.LIB.

See Also: ISDIGIT() ISLOWER() ISUPPER() 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.