ListContainsNoCase()
Determines the index of the first list element that contains a specified substring.
ListContainsNoCase( list=string, substring=string, delimiters=string, includeEmptyFields=boolean, multiCharacterDelimiter=boolean );
Returns: Number
Examples
writeOutput(listContainsNoCase("I,love,lucee,testFile", "LUCEE"));//Expected output 3
//Member Function with @ delimiter
strList="I@am@lucee@dev";
writeDump(strList.listContainsNoCase("Dev","@"));//Expected output 4
See also
- Lists
- Strings
- string.listContainsNoCase()
- Search Issue Tracker
- Search Lucee Test Cases (good for further, detailed examples)