User Tools

Site Tools


ixe:irpl:lists:getlistindex

:!: Available in version 2.4.8 and later.

GetListIndex

GetListIndex(<-list <-item) ->index

Description

Returns the index of the first occurrence of item in the list. Returns -1 if not found

Examples

Split("There are four words" " ") ->list 
Trace(GetListIndex(<-list "are")) 
ixe/irpl/lists/getlistindex.txt · Last modified: 2025/01/07 15:41 by 127.0.0.1