This is not working because you have given the parameters in wrong order. The syntax for each of find()
and findNoCase()
are
FindNoCase(substring, string [, start ])
Find(substring, string [, start ])
So you have to try like:
<cfoutput>#Find( "International","aaInternationalbb")#</cfoutput>
<cfoutput>#Find( "International","aalbb")#</cfoutput>
<cfoutput>#FindNoCase("International","aaInternationalbb" )#</cfoutput>
<cfoutput>#FindNoCase("International","aalbb")#</cfoutput>
This will give output as: 3 0 3 0