ArrayDeleteNoCase()
Deletes specified object from given array, in case of a string the case of the string does not matter.
ArrayDeleteNoCase( array=array, value=object, scope=string );
Returns: Boolean
Examples
arr=['lucee','SUSI'];
writeDump(var=arr,label="Before");
arrayDeleteNoCase(arr, 'suSi');
writeDump(var=arr,label="After");//lucee
arrNew=['a','Ab','c','A','a'];
writeDump(var=arrNew,label="Before");
arrayDeleteNoCase(arrNew, 'a',"all");
writeDump(var=arrNew,label="After");
See also
- Arrays
- array.deleteNoCase()
- Search Issue Tracker
- Search Lucee Test Cases (good for further, detailed examples)