MathTop

has_graphic 函数

检验文本是否包含至少一个可打印的非空白字符。

语法

  • StringTools:-HasGraphic(text)
  • HasGraphic(text)
  • has_graphic(text)

参数与选项

text文本值,通常写在引号中。

示例

  1. 包含可见非空白字符StringTools:-HasGraphic(' \tA')返回 true。