Whatever message this page gives is out now! Go check it out!
| Parameter | Description |
array | Array to search in. |
value | Value to search for. |
<cfscript>
myArray=["London", "New York", "Paris", "Barcelona", "Berlin", "Tokyo", "Seattle"];
WriteOutput("Input array is: ");
writeDump(myArray)
// Delete "Paris"
ArrayDelete(myArray,"Paris"); // Returns True since Paris is a member of myArray
WriteOutput("Array after deleting Paris is: ");
writeDump(myArray)
</cfscript>