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");// 移除第2号元素,"and good morning",,数组是从0开始的,1就是第二号了。arr.RemoveAt(1);//打印结果为"Hello,World"print (arr);
,