DigitQ[string]用来判断该字符串中的所有字符是否是 0 到 9 的数字,若是则返回 True,否则返回 False.
测试字符是否是一个数字:
LetterQ Number StringExpression
400+ new features, including the new Wolfram Predictive Interface, social network analysis, enterprise CDF deployment, and more »