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:
$mid(<offset> <length> <text>)
Technical:
This function returns the input text, starting at the specified offset,
and not exceeding the specified length. If the length specified would
extend beyond the end of the text, it is adjusted accordingly. The
offset is counted from 0 (zero).
Practical:
This function takes an arbitrary input string, and returns a slice of
it. This might be used to strip the first few characters off of a
string, regardless of what they might be.
Returns:
slice of input text, or nothing if error
Examples:
$mid(4 3 hello there) returns "o t"
$mid(7 100 this is a long string) returns " a long string"
See Also:
left(6); right(6)