Onetastic Macro Documentation >
>
>
Array_Unique Array_Unique
Removes duplicate elements from the given array. Keys are preserved but the order of elements may be changed.
Syntax
void Array_Unique(byref Array array)
Parameters
- Array array
- Array to remove the duplicates from.
Examples
$array = Array(2, 6, 4, 3, 5, 9, 1, 2, 7, 5, 1, 4, 2, 6)
Array_Unique($array)
|