Go to: Synopsis. Return value. MEL examples.
string[] stringArrayRemove(string[] $item, string[] $list)
None
| Variable Name | Variable Type | Description |
|---|---|---|
| $items | string[] | A list of string values to remove from the string array. |
| $list | string[] | The array to be acted upon. |
string $list[] = { "a", "b", "c", "d", "e", "f", "g" };
string $items[] = { "a", "c", "e", "g" };
string $diff[] = stringArrayRemove($items, $list);
// Result : { b, d, f } //