setinter(<list1>,<list2>)
setinter(<list1>,<list2>,<input delim>,<output delim>)
This function returns the intersection of two sets of words--i.e. the
elements that are both in <list1>
and <list2>
. The resulting set will not
contain any duplicate words. Words are matched case-insensitive.
Examples:
Function | Returns |
---|---|
[setinter(1 2 3,2 4 6)] |
2 |
[setinter(a b c d,A C E)] |
a c |
[setinter(1 2 6 6 8,6 6 10)] |
6 |