Mathematica > Core Language > String Manipulation > Character Operations >

DigitQ

DigitQ[string]
yields True if all the characters in the string are digits in the range 0 through 9, and yields False otherwise.
New in 2
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team