Description
This function performs case-insensitive search in an array for a specified object. The function searches simple objects such as strings and numbers or complex objects such as structures. String searches are case-insensitive.
Returns
True, if the specified object exists in the array.
Category
Syntax
boolean ArrayContainsNoCase(List v, Object obj) |
See also
Other closure functions.
Parameters
Parameter |
Description |
---|---|
v |
Name of the array. |
obj | Object to search for. |
Example
<cfscript> writeOutput(ArrayContainsNoCase(["STRING","STRING"], "string")); </cfscript> |