RemoveElements Function

Syntax

RemoveElements(Array array, String index, Number numElements)

Return Value

The function always returns 0.

Purpose

This function removes elements from a one-dimensional array.

Parameters

array as Array

A one-dimensional array.

index as String

The index from which to remove the elements. Specify the array index as a string with the syntax "[x]", where x is an integer constant.

numElements as Number

The number of elements to remove, including the index element.