Question
Search the existance of string
I need to check if the the string contains the word 'board or schools or secondary'.
The below code returns zero as if the word is not present.
<cfset
t1 = "XYZ Schools of Blah">
<cfset
t2 = "XYZ Schools of secondary">
<cfset
t3 = "board Schools of Blah">
<cfset
lst = "board,secondary,schools">
<cfdump
var="#ListContainsNoCase(lst,t1)#">
<cfdump
var="#ListContainsNoCase(lst,t2)#">
<cfdump
var="#ListContainsNoCase(lst,t3)#">
