get_incount(string, spstr)

参数:

string, 被搜索的字符串

spstr, 需要查找的字符串

作用:

计算某字符在搜索字符串中的出现次数。

示例:

{$=get_incount("1,2,3,4,5", ",")}
返回值:4