ST_setΒΆ

The ST_set function takes an vector argument (A), and returns a vector that is sorted in ascending order, and has no duplicate values.

C = ST_set(A)

Return Value

C is a real or string vector. The vector is sorted in ascending order, and has no duplicate values.

Parameters

A

A is a real or string vector.

Example

* ST_set([1,4,2,4,6,3])
*    1.000  2.000 3.000 4.000 6.000
*
* ST_set(["one", "four", "two", "four", "three"])'
four
one
three
two

id-415572