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,27 @@
Synopsis:
$leftw(<count> <word list>)
$rightw(<count> <word list>)
Technical:
These functions are used to return a slice of the input list, from either
the beginning or end of the list. It returns the indicated number of
words from the beginning or the end of the list.
Practical:
This is mostly useful when you know you always want to get a certain
number of starting or ending words in a list, regardless of what they
are. They are analogous to $left() and $right(), except they operate on
whole words instead of characters.
Returns:
list of words from beginning or end of word list
Examples:
$leftw(2 hello there how are you?) returns "hello there"
$leftw(-1 hello there bob) returns nothing
$leftw(7 hello there bob) returns "hello there bob"
$rightw(2 hello there how are you?) returns "are you?"
See Also:
midw(6); restw(6)