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 ]

Examples

PRINT IsDigit("1972")

True

PRINT IsDigit("three")

False

See also

Character Test Functions