GetIndexOf
Script
Arrays
5.1 OC
int
array
array2search
Array in which the element should be searched. The array can be zero, in which case the element is never found and -1 is returned.
any
needle
The value to which every element of the array is to be compared.
Finds the first occurrence of a value in an array and returns its zero-based index. If the element is not found, -1 is returned. The usual rules for comparison using the ==-operator apply.
Sven22012-12