Manual     Reference     Scripting  
  
Scripting > Runtime Classes > Array   
  • Menu
  • Overview
  • Runtime Classes
  • Attributes
  • Enumerations
  • Editor Classes
  • Attributes
  • Enumerations
  • History
  • Index
  • Array
  • All Members
  • Variables
  • length
  • Constructors
  • Array
  • Functions
  • Add
  • Clear
  • Concat
  • Join
  • Pop
  • Push
  • RemoveAt
  • Reverse
  • Shift
  • Sort
  • Unshift

Array.RemoveAt  

function RemoveAt (index : int) : void

Description

Removes the element at index from the array.

var arr = new Array ("Hello", "and good morning", "World");

// remove "and good morning"
arr.RemoveAt(1);

// Prints "Hello,World"
print (arr);