array.findNoCase()

These functions performs a case-insensitive search in the array for the specified object.

array.findNoCase( value=any )

Returns: Number

Argument Description
value
any, required

The value to find

Alias: object

Examples

myarray = ["one","two","three","TWO","five","Two"];
	writeDump(myarray);
	res = myarray.findnocase("TWO");
	writeDump(res);
	res = myarray.findnocase("one");
	writeDump(res);

See also