Home / lang / isdigit 
IsDigit
Syntax
Result = IsDigit ( sArg AS String ) AS Boolean
Result = Digit? ( sArg AS String ) AS Boolean

Returns TRUE if the String sArg contains only digits.

A digit is one of the following characters: [ 0123456789 ]

Example
PRINT IsDigit("1972")

True

Example
PRINT IsDigit("three")

False


See also
Character Test Functions