Lucee Function Reference
Function ARRAYCONTAINSNOCASE
Returns the position of the first element in the array whose string value contains the substring passed (not case sensitive), or 0 if no such element is found.
Example
arraycontainsnocase(array haystack,object needle):number
Arguments
The arguments for this function are set. You can not use other arguments except the following ones.
Name | Type | Required | Description |
---|---|---|---|
haystack | array | Yes | The array in which to search for the substring |
needle | object | Yes | The substring to search for (not case sensitive) |