has_graphic 函数
检验文本是否包含至少一个可打印的非空白字符。
语法
StringTools:-HasGraphic(text)HasGraphic(text)has_graphic(text)
参数与选项
text | 文本值,通常写在引号中。 |
|---|
示例
- 包含可见非空白字符
StringTools:-HasGraphic(' \tA')返回 true。
检验文本是否包含至少一个可打印的非空白字符。
StringTools:-HasGraphic(text)HasGraphic(text)has_graphic(text)text | 文本值,通常写在引号中。 |
|---|
StringTools:-HasGraphic(' \tA')返回 true。