Array.insert

Function/Meaning

Inserts the specified value at the specified position.

Type
Arrayclassmethod of
Syntax
insert(index:int, value)
Arguments
index

Insertion position

value

Insert value

Return value
None (void)
Explanation

Inserts the element indicated by the value at the subscript position indicated by the position.
The elements after the position are shifted backward one by one.