Go to: Synopsis. Return value. MEL examples.
int intArrayRemoveAtIndex(int $index, int[] $list)
None
Variable Name | Variable Type | Description |
---|---|---|
$index | int | The index of the element to remove from $list. |
$list | int[] | A list of int values. |
int $array1[] = { 1, 2, 3 }; // Result: 1 2 3 // intArrayRemoveAtIndex(1, $array1); // Result: 1 // print $array1; // Result: 1 3 //