is_graphic 函数
检验非空字符串中的每个字符是否都可打印且不是空白字符。
语法
StringTools:-IsGraphic(text)IsGraphic(text)is_graphic(text)
参数与选项
text | 文本值,通常写在引号中。 |
|---|
示例
- 全可见非空白字符文本
StringTools:-IsGraphic('ABC!')返回 true。
检验非空字符串中的每个字符是否都可打印且不是空白字符。
StringTools:-IsGraphic(text)IsGraphic(text)is_graphic(text)text | 文本值,通常写在引号中。 |
|---|
StringTools:-IsGraphic('ABC!')返回 true。