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 caracter 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
      QOUT( "isdigit( '12345' ) = ", isdigit( '12345' ) )
      QOUT( "isdigit( 'abcde' ) = ", isdigit( 'abcde' ) )
Status

Ready

Compliance

This function is CA-Clipper compliant

Platforms

All

Files

Library is rtl

See Also