setunion(<list1>,<list2>)
setunion(<list1>,<list2>,<input delim>,<output delim>)
This function returns the union of two sets of words--i.e. the elements in
either <list1>
and <list2>
minus any duplicate elements. This function can be
used with an empty set {} for <list2>
to remove all duplicate words in a
list. Words are matched case-insensitive.
Examples:
Function | Returns |
---|---|
[setunion(1 2 3,2 4 6)] |
1 2 3 4 6 |
[setunion(a b c d,A C E)] |
a b c d E |
[setunion(12 4 7 4 9,{})] |
12 4 7 9 |