DigitCharacter

DigitCharacter

represents a digit character 09 in StringExpression.

Examples

open allclose all

Basic Examples  (2)

Test whether a string contains only digits:

Properties & Relations  (2)

DigitCharacter matches any character for which DigitQ gives True:

Related predefined character classes include LetterCharacter and WhitespaceCharacter:

Introduced in 2004
 (5.1)