Array.Insert

Parent Previous Next

Array.Insert.

Inserts an item at the specified index. Returns Self for a possible continuation of operations.


Syntax.


 Insert(Integer index, Type item) : <Self>

 


Arguments:


Example:


 Integer arr[] := [0, 1, 2];

 arr[].Insert(0, 3); //Now arr[] ~ [3,0,1,2];