Compute the complement of a in b (the elements of b that are not in a).
Return Value
c is a vector with the elements of b that are not in a or 0 (for real) or “” (for string).
Parameters
a is a string or real matrix.
b is a string or real matrix.
rsNull is the return value if b contains only elements that are in a. The parameter is only used with real matrices.
Example
* ST_complement([2,3,5,7], [2,4,9])
* 4.000 9.000
*
* ST_complement(["one", "two", "three"], ["two", "four", "five"])'
four
five
See also
id-975428