Array
.RemoveAt
Manual
Reference
Scripting
Scripting
>
Runtime Classes
>
Array
Array
.RemoveAt
Menu
Overview
Runtime Classes
Attributes
Enumerations
Editor Classes
Enumerations
History
Index
Array
All Members
Variables
length
Constructors
Array
Functions
Add
Clear
Concat
Join
Pop
Push
RemoveAt
Reverse
Shift
Sort
Unshift
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);