TinyMARE HelpText

Global Functions > Setunion()

Setunion()

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

See also: setdiff(), setinter()

From the TinyMARE Help command - Courtesy Gandalf

-- SluggyQBFreak - 05 Jan 2006
Topic revision: r1 - 05 Jan 2006, SluggyQBFreak
This site is powered by FoswikiCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding WikiMARE? Send feedback