Deletes the first element in an array that matches the value of
The search is case insensitive. Returns
true if the element was found and removed.
The array will be resized, so that the deleted element doesn't leave a gap.
→ returns boolean
This function requires
Adobe ColdFusion 2016 and up.
Not supported on Lucee, OpenBD, etc.
ColdFusion 2016 New Functions and Tags arrayDeleteNoCase
arrayDeleteNoCase Argument Reference
A string, numeric or boolean value on which to search. Case insensitive.
Version 2016+ Member function is not available
sample code invoking the arrayDeleteNoCase function
Delete an element from an array
Deletes the first
apple element from the array
arr = ['apple', 'orange', 'pear', 'Apple'];
Expected Result: ['orange','pear','Apple']