ArrayFindAllNoCase()
These functions searches the array for the specified object and return the positions of all occurrence of this values.
ArrayFindAllNoCase( array=array, value=any );
Returns: Array
Argument | Description |
---|---|
array
array,
required
|
The array to search in |
value
any,
required
|
The value to find |
Examples
Find first occurrence of string in array
fruitArray = ['apple', 'kiwi', 'banana', 'orange', 'mango', 'kiwi'];
favoriteFruits = arrayFindAll(fruitArray,'kiwi');
dump(favoriteFruits); // [2]
See also
- Arrays
- Collections
- array.findAllNoCase()
- Search Issue Tracker
- Search Lucee Test Cases (good for further, detailed examples)