string.listValueCount()
Counts instances of a specified value in a list. The search is case-sensitive.
string.listValueCount( value=string, delimiter=string, includeEmptyFields=boolean )
Returns: Number
Examples
List = "lucee,ACF,luceeExt,lucee,lucee, ext,LUCEEEXT";
writeDump(list.ListValueCount("lucee"));
writeDump(ListValueCount(list, "luceeExt"));
writeoutput("<br>");
List2 = "lucee@ACF@luceeExt@lucee@ext@LUCEEEXT";
writeDump(list2.ListValueCount("lucee", "@"));