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,28 @@
Synopsis:
$fromw(<word> <list of words>)
$tow(<word> <list of words>)
Technical:
These two functions are used to filter a range of words from the given
input string. The $fromw() function starts at the first occurrence of the
specified word, and returns it and all that follow it. The $tow()
function is the opposite, returning all words up to and including the
search word.
Practical:
The mnemonic for these functions are "from word" and "to word". The
most important distinction is that they include the search word in the
return string, where functions like $afterw() and $beforew() do not.
Returns:
list of words
Examples:
$tow(two one two three) returns "one two"
$tow(four one two three) returns nothing, "four" not in list
$fromw(two one two three) returns "two three"
$fromw(four one two three) returns nothing, "four" not in list
See Also:
afterw(6); beforew(6)