This is documentation for Mathematica 5, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.1)

Documentation / Mathematica / Built-in Functions / Programming / String Manipulation /

DigitQ

FilledSmallSquare DigitQ[string] yields True if all the characters in the string are digits in the range 0 through 9, and yields False otherwise.

FilledSmallSquare See Section 2.8.4.

FilledSmallSquare See also: LetterQ, Number.

FilledSmallSquare New in Version 2.

Further Examples