Whatever message this page gives is out now! Go check it out!
ArrayContainsNoCase(array, value) |
Parameter | Description |
array | Name of the array. |
| value | Object to search for. |
<cfscript>
myArray=["Boat","Car"];
WriteOutput(ArrayContainsNoCase(myArray,"boat") & " | "); //returns YES since "Boat" is a member of myArray
WriteOutput(ArrayContainsNoCase(myArray,"train")); //returns NO since "Train" is not a member of myArray
</cfscript>