Status/Resolution/Reason: Closed/Fixed/
Reporter/Name(from Bugbase): Aaron Neff / Aaron Neff (Aaron Neff)
Created: 09/24/2012
Components: Language
Versions: 10.0
Failure Type: Enhancement Request
Found In Build/Fixed In Build: Final /
Priority/Frequency: Normal / Some users will encounter
Locale/System: English / Platforms All
Vote Count: 0
ArrayContains and ArrayDelete are case-sensitive. However, the case-insensitive version of these (ArrayContainsNoCase and ArrayDeleteNoCase) are missing.
Repro:
<cfscript>
writeOutput(ArrayContains(["STRING","STRING"], "string"));
</cfscript>
Actual Result: NO
Expected Result: NO
<cfscript>
writeOutput(ArrayContainsNoCase(["STRING","STRING"], "string"));
</cfscript>
Actual Result: Variable ARRAYCONTAINSNOCASE is undefined.
Expected Result: YES
<cfscript>
writeOutput(ArrayDelete(["STRING","STRING"], "string"));
</cfscript>
Actual Result: NO
Expected Result: NO
<cfscript>
writeOutput(ArrayDeleteNoCase(["STRING","STRING"], "string"));
</cfscript>
Actual Result: Variable ARRAYDELETENOCASE is undefined.
Expected Result: YES
----------------------------- Additional Watson Details -----------------------------
Watson Bug ID: 3335956
External Customer Info:
External Company:
External Customer Name: itisdesign
External Customer Email:
Attachments:
Comments: