StrCount

String manipulation 
SYNTAX  StrCount( ''string'', ''substring'' ) 
RETURNS  NUMBER 
FUNCTION  Function returns integer which is number of times substring was found in string. It is case sensitive.
The function can be used for example to count the number of commas in commaseparated list 
EXAMPLE 

SEE ALSO  StrExtract() function , StrFind() function , StrFormat() function , StrLeft() function , StrLen() function , StrMid() function , StrReplace() function , StrRight() function 
The StrCount function is used in the following formulas in AFL online library:
See updated/extended version online.