ColdFusion lists may not be the most efficient form of data storage, but they are convenient and thus very valuable. There are several ways to access lists and list members, including searching lists for values. And when searching there are two distinct forms of search supported. Use ListFind() and ListFindNoCase() to match list members, and use ListContains() and ListContainsNoCase() to search for members that contain specified text (substring search). (Applies to: ColdFusion All)

Leave a Reply