Whatever message this page gives is out now! Go check it out!
ArrayDeleteNoCase(array, object)Parameter | Req/Opt | Description |
array | Required | Name of the array. |
object | Required | Object to search for. |
<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 arrray after deleting the first element in the array
</cfscript>