Initial import of the ircii-pana-1.1-final source tree.

git-svn-id: svn://svn.code.sf.net/p/bitchx/code/tags/ircii-pana-1.1-final@1 13b04d17-f746-0410-82c6-800466cd88b0
This commit is contained in:
Kevin Easton
2008-02-25 09:25:32 +00:00
commit 28febcfea9
1429 changed files with 250653 additions and 0 deletions

View File

@@ -0,0 +1,24 @@
Synopsis:
$insertw(<index> <word> <text>)
Technical:
This function inserts the given word into the given text, in the position
indicated by the given index. It returns the resultant string. The
index counts from 0 (zero).
Practical:
This function is used when you want to insert a word into an existing
text string (usually held in a variable). This could be useful as a
pseudo-unshift mechanism; using an index of 0 would yield the same
results as $unshift(), but in truth any offset could be used (thus
keeping the first few words intact, and unshifting the rest).
Returns:
input text with word inserted
Examples:
$insertw(1 blah hi there bob) returns "hi blah there bob"
See Also:
remw(6); unshift(6)