setinter()
btmux-0.6-rc4/game/text/help/cat_mux/cat_functions/setinter() · 456 B
From the archive btonline-btechmux-0.6-rc4.tbz2
Download the archive « Back to the archive contents
& setinter() Syntax: setinter(<list1>, <list2>[, <delim>]) This function returns the intersection of two sets -- i.e., the elements that are in both <list1> and <list2>. The list that is returned is sorted. If <delim> is specified, it (rather than a space) is used to separate items in the list. Example: > say setinter(foo baz gleep bar, bar moof gleep) You say, "bar gleep" See Also: setdiff(), setunion(), sort()