wwCollection::FindIndex

Finds the first matching item in the array by its value and returns the index. If not found 0 is returned.

Collections are expected to contain items of the same type or else you will get type mismatch errors.

String values are searched in a case insensitive manner.

o.FindIndex(lvItem)

Return Value

Item index or 0 if not found.

Parameters

lvItem
The item to look for.


See also:

Class wwCollection

© West Wind Technologies, 1996-2024 • Updated: 01/11/19
Comment or report problem with topic