User Tools

Site Tools


4rpl:commands:getlistindices

Index
Lists

:!: Available in version 2.4.8 and later.

GetListIndices

GetListIndices(<-list <-item) ->indices

Description

Returns a list containing the indices for each occurrence of item in the list. Returns an empty list if item is not found

Examples

Split("a b c b a" " ") ->list 
Trace(GetListIndices(<-list "a")) 

Index

4rpl/commands/getlistindices.txt · Last modified: 2024/11/02 01:10 by Vertu