Number Of Instances In A List

Need to find out how often a particular string occurs within a list? Use the ListValueCount() and ListValueCountNoCase() functions. And as these functions take an optional delimiter (the default is a comma) they can be used to find words in blocks of text too. (Applies to: ColdFusion 4 or later)

Leave a Reply