> For the complete documentation index, see [llms.txt](https://kettle.gitbook.io/doc/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://kettle.gitbook.io/doc/ke-hu-duan-she-ji-qi/han-shu/alnum.md).

# AlNum

检查给定的字符串中是否只包含字母数字字符

· **输入**：string (string)&#x20;

· **输出**：true/false (int8)&#x20;

· **示例**。 如果【字段选择】步骤的输入数据流中的 mystring1 字段包含字符串“OED\_75\_9\*E”，那么以下函数将返回值 -1 (false)。 `AlNum(mystring1)`&#x20;

如果【字段选择】步骤的输入数据流中的 mystring2 字段包含字符串“12 red roses”，那么以下函数将返回值 1 (true)。 `AlNum(mystring2)`
