The Delete function deletes the objects and sets the items to null.
Syntax
Array.Delete(
Integer index,
Integer count = 1)
Integer index,
Integer count = 1)
Parameters
| index | Index of the first item. | Required |
|---|---|---|
| count | Number of items to delete. -1: End. | Optional |
Return value
The Delete function has no return values.
Example
myArray.Delete(5, 2)