User Tools

Site Tools


4rpl:commands:getlistindices

This is an old revision of the document!


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.1667239407.txt.gz · Last modified: 2022/10/31 14:03 by karsten75