ArrayFindAllNoCase

These functions searches the array for the specified object and return the positions of all occurrence of this values.

Returns: array

Usage

ArrayFindAllNoCase( array, value )

Arguments

Argument Description
array
(array, required)

The array to search in

value
(any, required)

The value to find

Examples

Find first occurance of string in array

fruitArray = ['apple', 'kiwi', 'banana', 'orange', 'mango', 'kiwi'];

favoriteFruits = arrayFindAll(fruitArray,'kiwi');
dump(favoriteFruits); // [2]

See also