Whatever message this page gives is out now! Go check it out!

ArrayDeleteNoCase

Last update:
May 18, 2026
Note:
As of ColdFusion (2021 release), CORBA has been removed. You can no longer use CORBA-related features, functions, and tags.

Description

Deletes the first element in an array that matches the value of  object . The search is case-insensitive.
The function does not support COM and CORBA objects.

Returns

Yes, When an element of the array is successfully deleted.

Category

History
New in Adobe ColdFusion (2016 release)

Syntax

ArrayDeleteNoCase(array, object)

Parameters

Parameter
Req/Opt
Description
array
Required
Name of the array.
object
Required
Object to search for.

Example

<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>

Output

["Analyse","Analysis","analyse","analysis","analyze"]

Share this page

Was this page helpful?
We're glad. Tell us how this page helped.
We're sorry. Can you tell us what didn't work for you?
Thank you for your feedback. Your response will help improve this page.

On this page