TinyMARE HelpText

Global Functions > Setinter()

Setinter()

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

See also: setdiff(), setunion()

From the TinyMARE Help command - Courtesy Gandalf

-- SluggyQBFreak - 05 Jan 2006

This topic: TinyMARE > HelpText > FunctionSetinter
Topic revision: 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