User Tools

Site Tools


xrpl:getlistelement

This is an old revision of the document!


GetListElement

ArgumentsResultNotation
list int value [list int- value]

Description

Returns the value at the specified index of a list. Lists are indexed from zero.

If a list is stored in a variable, this can be abbreviated to <-list[<-index].

Examples

Split("1,2,3,4,5,6" ",") ->list 
0 6 do 
    Trace (<-list I GetListElement) 
    Trace (<-list[I]) 
loop 
xrpl/getlistelement.1551653831.txt.gz ยท Last modified: 2025/02/14 14:56 (external edit)