IsDigit

Result = IsDigit ( Arg AS String ) AS Boolean Result = Digit? ( Arg AS String ) AS Boolean

Returns TRUE if the String Arg contains only digits.

A digit is one of the following characters: 0 1 2 3 4 5 6 7 8 9

Examples

PRINT IsDigit("1972")
True

PRINT IsDigit("three")
False

See also