<- PRPL reference <- Lists

InsertListElement

ArgumentsResultNotation
list int value [list int value-]

Description

Stores a value at the specified index of a list. The previously stored value, and all subsequent values have their indices shifted up by one.

Examples

Split("1,2,3,4,5,6" ",") ->list 
InsertListElement(<-list 3 "Spoon") 
Trace(<-list)