ISDIGIT()
Checks if leftmost character is a digit character
Syntax
ISDIGIT( <cString> ) --> lDigit
Arguments
<cString> Any character string
Returns
lDigit Logical true (.T.) or false (.F.).
Description
This function takes the character string <cString> and checks to see if the leftmost character is a digit, from 1 to 9. If so, the function will return a logical true (.T.); otherwise, it will return a logical false (.F.).
Examples
? ISDIGIT( "12345" ) // .T.
? ISDIGIT( "abcde" ) // .F.
Compliance
Clipper
Platforms
All
Files
Library is rtl
Seealso
ISALPHA(), ISLOWER(), ISUPPER(), LOWER(), UPPER()
Pingback: Harbour Check Functions | Viva Clipper !
Pingback: Harbour All Functions – I | Viva Clipper !
Pingback: Harbour String Functions | Viva Clipper !
Pingback: Harbour RG Summary | Viva Clipper !