remove - removes a range of variables from an array
Arr.remove( Start, Length = 1 )
See also
remove removes a range of variables from Arr specified by Start & Length. Arr must be an array. Start & Length must be a positive integer.
Length is the number of variables that will be removed.
If Start is greater than the size of Arr, nothing will happen. arr = array 30 arr.remove( 10, 5 ) arr now only contains 25 variables. arr.remove( 20, 100 ) arr now only contains 20 variables, tried to remove 100, but only found five to remove. arr.remove 3 this only removes one variable, same as arr.remove( 3, 1 ) Read more about the array. |