array.findAll()
These functions searches the array for the specified object and return the positions of all occurrence of this values.
array.findAll( value_or_closure=any )
Returns: Array
Examples
numbers = ["one","two","three","four","one","one","two","one"];
res = numbers.findall("one");
writeDump(res);
fruits = ["apple","orange","banana","orange","orange"];
res = fruits.findall("orange");
writeDump(res);