# $EPIC: filter.txt,v 1.2 2006/08/01 02:45:08 sthalik Exp $
$filter(<pattern> <word list>)
This function lets you “filter” <word list> through a pattern, removing all of the words that match the pattern and keeping all of the words that do not match the pattern. By appending * to a string and using this function, you can quickly find all words in a word list that do not start with a particular substring.
The list of words from <word list> after all words matched by <pattern> have been removed.
This function first appeared in “plus-2” (post-ircII, pre-EPIC)
$filter(*oo* foobar blah booya) returns "blah" $filter(*a* hello there bob) returns "hello there bob" $filter(irc* $myservers()) returns all servers you are connected to that don't start with the string "irc".