Go to: Synopsis. Return value. MEL examples.
int[] intArrayRemove(int[] $item, int[] $list)
None
| Variable Name | Variable Type | Description |
|---|---|---|
| $items | int[] | A list of int values to remove from the int array. |
| $list | int[] | The array to be acted upon. |
int $list[] = { 1, 2, 3, 4, 5, 6, 7, 8 };
int $items[] = { 1, 3, 5, 7 };
int $diff[] = intArrayRemove($items, $list);
// Result : { 2, 4, 6, 8 } //