Returns the index of the first occurrence of a value within a list. Returns 0 if no value was found. The search is case-insensitive.
See also ListContains and ListFind.
ListFindNoCase(list, value [, delimiters ])
List being searched.
Number or string being sought among elements of list.
Set of delimiters used in list.
<!--- This example uses ListFind and ListFindNoCase to see if a substring exists in a list ---> ... <CFSET temp = ListFindNoCase(myList, FORM.myString)> <CFIF temp is 0> <H3>An employee with that exact last name was not found</H3> <CFELSE> <CFOUTPUT> <P>Employee #ListGetAt(ValueList(SearchEmpLastName.FirstName), temp)# #ListGetAt(ValueList(SearchEmpLastName.LastName), temp)#, of the #ListGetAt(ValueList(SearchEmpLastName.Department), temp)# Department, can be reached at #ListGetAt(ValueList(SearchEmpLastName.Phone), temp)#. <P>This was the first employee found under this case-insensitive last name search. </CFOUTPUT> </CFIF> </CFIF> </CFIF> </BODY> </HTML>