Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- CA-Clipper 5.3 . Guide To CA-Clipper - <b>isalpha()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 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()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson