listContainsNoCase

Determines the index of the first list element that contains a
specified substring.

listContainsNoCase(list, substring [, delimiters]) → returns numeric

listContainsNoCase Argument Reference

list string
Required

substring string
Required

delimiters string
Default: ,

Examples sample code invoking the listContainsNoCase function

Return the first instance position of 'foo', irrespective of case

listContainsNoCase("sheep,goat,Foo,bar,foo", "foo")

Expected Result: 3


Fork me on GitHub