# $EPIC: insertw.txt,v 1.4 2007/03/02 02:32:04 jnelson Exp $ ======Synopsis:====== $__insertw__( ) ======Technical:====== * If the argument is omitted the empty string is returned. * If the argument is less than 1, then the return value is the rest of the argument list as it is passed. ( ) * Otherwise, the return value is a copy of that has had inserted as the th word, counting from zero. * No words in are removed. * Remember that is a list of [[what is a word|words]]. ======Practical:====== 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 and included. This is similar to the $[[unshift function|unshift]]() function. ======Returns:====== with inserted as the th word. ======Examples:====== $insertw(1 blah hi there bob) returns "hi blah there bob" ======History:====== This function first appeared in "plus-2" (post-ircII, pre-EPIC)