Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Determines whether the leftmost character in a character expression is alphabetic.
ISALPHA(cExpression)
Return Values
Logical
Parameters
- cExpression
Specifies the character expression that ISALPHA( ) evaluates. Any characters after the first character in cExpression are ignored.
Remarks
ISALPHA( ) returns true (.T.) if the leftmost character in the specified character expression is an alphabetic character; otherwise ISALPHA( ) returns false (.F.).
Example
CLOSE DATABASES
OPEN DATABASE (HOME(2) + 'Data\testdata')
USE Customer && Open customer table
CLEAR
DISPLAY contact
? ISALPHA(contact) && Displays .T.
DISPLAY maxordamt
? ISALPHA(cust_id) && Displays .F.
See Also
ISLOWER( ) | ISUPPER( ) | LOWER( ) | UPPER( )