User Tools

Site Tools


4rpl:commands:getlistindex

Index
Lists

:!: 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")) 

Index

4rpl/commands/getlistindex.txt · Last modified: 2022/10/31 14:02 by karsten75