# $EPIC: word.txt,v 1.4 2007/03/02 02:32:04 jnelson Exp $
$word(<index> <list>)
Use this function when you need to extract a specific word from a list.
The <index>th word in <list>, counting from zero.
<ugh. this is a mess>
$word(2 foo bar blah) returns blah $word(4 foo bar blah) returns the empty string $word(-1 foo bar blah) returns the empty string xdebug -dword $word(1 one "two three" four five) returns "two xdebug dword $qword(1 one "two three" four five) returns two three
This function already existed in ircII.