The Remove function removes the items from the list without deleting objects.
Syntax
Array.Remove(
Integer index,
Integer count = 1)
Integer index,
Integer count = 1)
Parameters
| index | Index of the first item. | Required |
|---|---|---|
| count | Number of items to remove. | Optional |
Return value
The Remove function has no return values.
Example
myArray.Remove(4, 2)