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: 2025/02/14 14:57 by 127.0.0.1