<- PRPL reference <- Lists

RemoveListElement

ArgumentsResultNotation
list position [ list int - ]

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

"a" "b" "c" PrependStackToList ->list #["a", "b", "c"] 
<-list 1 RemoveListElement #["a", "c"]