User Tools

Site Tools


ixe:irpl:lists:removelistelement

RemoveListElement

RemoveListElement(<-list, <-index)

Description

Removes an element from a list at a given position. Position are indexed from 0.

Elements after the removed one will be shifted towards the start of the list.

Examples

CreateList ->list
"a" ->list[0]
"b" ->list[1]
"c" ->list[2]
RemoveListElement(<-list 1)  #["a", "c"]
CreateList ->list
"a" ->list[0]
"b" ->list[1]
"c" ->list[2]
RemoveListElement(<-list GetIndexOf(<-list "b"))  #["a", "c"]
ixe/irpl/lists/removelistelement.txt · Last modified: 2025/01/07 15:41 by 127.0.0.1