# $EPIC: findw.txt,v 1.2 2006/08/01 02:45:08 sthalik Exp $
$findw(<word> <wordlist>)
This function searches <wordlist> for <word> and returns the place it was found. If <word> isn't in <wordlist>, -1 is returned.
This function should put many scripters to ease, as it has been written into many scripts :)
index to <word> in <wordlist>
$findw(very epic is a very scriptable client) /* returns 3 */ assign test blah hmm foo bar eval echo $word($findw(hmm $test) $test) /* returns "hmm" */