Go to: Synopsis. Return value. MEL examples.
string[] stringArrayRemoveDuplicates(string[] $list)
None
Variable Name | Variable Type | Description |
---|---|---|
$list | string[] | An array of strings. |
string $list[] = { "d", "b", "c", "c", "a", "a", "b" }; string $shorterList[] = stringArrayRemoveDuplicates($list); // Result : { d, b, c, a } //