Unique Method
Removes duplicate elements from the array.
Syntax
array_.Unique()
Parameters
Name | Type | Description |
---|---|---|
array_ | The name of an object of type array_ |
Example
Dim x As New Array_
x.FromArray (Array(1, 2, "foo", 3, 3, "foo", 9, 2))
x.Unique
' Result :
'Array (
' [1] = > 1
' [2] = > 2
' [3] = > foo
' [4] = > 3
' [5] = > 9
')