graball - luxembourg/muxcode-clm GitHub Wiki

GRABALL()

FUNCTION: graball(<list>, <pattern>[, <idelim>[, <odelim>]])

This function matches <pattern> against each word in <list>, returning all the words that match. If no words match, then an empty string is returned. The match is not case-sensitive, and wildcard characters are permitted in <pattern>. <idelim> may be used to specify the <list> delimiter other than a space. <odelim> is the output delimiter.

Examples: > say graball(This is a test of a test,test) You say, "test test" > say graball(This is testing a test,tes*) You say, "testing test"

Related Topics: grab, LISTS, regrab, regraball