# $EPIC: insertw.txt,v 1.4 2007/03/02 02:32:04 jnelson Exp $
$insertw(<index> <word> <word list>)
Use this function when you need to insert a word into a word list and you have a specific place in mind for it. If you use an index of 0, then it will return the arguments just as you passed them, with any spaces between <word> and <word list> included. This is similar to the $unshift() function.
<word list> with <word> inserted as the <index>th word.
$insertw(1 blah hi there bob) returns “hi blah there bob”
This function first appeared in “plus-2” (post-ircII, pre-EPIC)