setdiff(<list1>,<list2>) setdiff(<list1>,<list2>,<input delim>,<output delim>)
This function returns the difference of two sets of words--i.e. the elements
in <list1> that are not in <list2>. If <list1> contains duplicate words, then
each occurrance of a matching word is removed from <list1>, and all other
words remain unchanged. Words are matched case-insensitive.
Examples:
| Function | Returns |
|---|---|
[setdiff(1 2 3,2 4 6)] |
1 3 |
[setdiff(#3 #17 #19 #25 #180,#17)] |
#3 #19 #25 #180 |
[setdiff(Three and seven and ten,and)] |
Three seven ten |
Copyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.