MathTop

nth_word 函数

返回文本中第 n 个字母数字词;不存在时返回空字符串。

语法

  • NthWord(text, n)
  • nth_word(text, n)

参数与选项

text包含词的文本。
n一基词序号。

示例

  1. 第三个词NthWord('one two, three', 3)返回 three。