List
LPOS
Returns the index of matching elements inside a list.
Arguments
The key of the list.
The element to match.
Which match to return. 1 to return the first match, 2 to return the second match, and so on. 1 by default.
The maximum number of elements to match. If specified, an array of elements is returned instead of a single element.
Limit the number of comparisons to perform.
Response
The index of the matching element or an array of indexes if count
is
specified.