注意:以下翻译的准确性尚未经过验证。这是使用 AIP ↗ 从原始英文文本进行的机器翻译。
支持于: 批处理, 流处理
根据指定的正则表达式模式拆分字符串。
表达式类别: 字符串
输出类型: Array<字符串>
参数值:
string
string | 输出 |
---|---|
hello | [ hello ] |
hello world | [ hello, world ] |
hello there world | [ hello, there world ] |
参数值:
输出: [ one, two, three, empty string ]
参数值:
输出: [ one, twoBthreeC ]
参数值:
输出: null
参数值:
输出: [ empty string ]
参数值:
输出: [ a, b, c ]
参数值:
输出: [ empty string ]