InsertIntoArray

Inserts an element as a specific type into an array at the specified position.

SYNTAX
InsertIntoArray(index, obj, addAsType) 
ARGUMENTS

index Zero-based index at which the value is inserted
obj Object to insert
addAsType Optional. Element type