find(a, f)
Returns the index of the first entry such that f(a[index]) is true.
find(a, f, i)
As above but search starts at index i.
See also findall match matchcount
Example
f(x) = x>5
a = ( 1, 2, 7, 9 )
1 2 7 9
find( a, f )
3