Setinter()
{{Function|setinter(<list1>, <list2>[[[, <delim>], <output delim>], <sort type>])}}
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.
<sort type> may be used to specify the type of sort to perform (use 'd' for dbref, 'n' for integer numeric, 'f' for floating numeric, 'a' for case-sensitive alphanumeric, 'i' for case-insensitive alphanumeric, and '?' for automatic typing). If omitted, setinter() sorts using case-sensitive alphanumeric. If '?' or left blank, setinter() will try to determine the type of sort to perform automatically.
Example
> say setinter(foo baz gleep bar, bar moof gleep)
You say, "bar gleep"