[<<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()
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson