Count

统计子串在字符串中出现的次数

· 输入:string (string),substring (string)

· 输出:result (int32)

· 示例。如果【字段选择】步骤的输入数据流中的 mystring1 字段包含字符串“chocolate drops, chocolate ice cream, chocolate bars”,那么以下函数将返回 3。

Count(mystring1,"choc")

Last updated