string.listValueCountNoCase()

Counts instances of a specified value in a list. The search is case-insensitive.

string.listValueCountNoCase( value [, delimiter [, includeEmptyFields ] ] )

Returns: Number

Argument Description
value
string, required

Item for which to search

delimiter
string, optional

Characters that separate list elements. The default value is comma.

Alias: delimiters

includeEmptyFields
boolean, optional

if set to true, empty values are included as well

Examples

List = "lucee,ACF,luceeExt,lucee,lucee, ext,LUCEEEXT";
  	writeDump(ListValueCountNoCase(list, "luceeExt"));

See also