Whatever message this page gives is out now! Go check it out!
ArrayDeleteNoCase(array,value)| Parameter | Description |
array | (Required) Array to search in. |
value | (Required) A string, numeric, or boolean value on which to search. Case insensitive. If the object does not match any member in the array, the function returns false. |
<cfscript>
myArray=ArrayNew(1);
myArray=["Analyze","Analyse","Analysis","analyse","analysis","analyze"];
WriteOutput(ArrayDeleteNoCase(myArray,"analyze")); // Returns true because object matches an element in the array
WriteOutput(SerializeJSON(myArray)); // Returns array after deleting the first element in the array
</cfscript><cfscript>
myArray=ArrayNew(1);
myArray=["Analyze","Analyse","Analysis","analyse","analysis","analyze"];
WriteDump(myArray.DeleteNoCase("analyze"));
</cfscript>