MivaScript Builtin Function, Miva Merchant 9+
miva_array_find( needle, haystack var, offset )
<mvt:assign name="g.return_value" value="miva_array_find( needle, haystack var, offset )" />
Performs a sequential search for "needle" in array "haystack", starting at "offset". Comparison is equivalent to the EQ operator. (i.e. looks for an exact match)
needle
value to search for
haystack var
the array to search
offset
the starting index position