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:
20
bitchx-docs/6_Functions/chop
Normal file
20
bitchx-docs/6_Functions/chop
Normal file
@@ -0,0 +1,20 @@
|
||||
Synopsis:
|
||||
$chops(<num> <text>)
|
||||
|
||||
Technical:
|
||||
This function chops <num> characters from the end of <text>.
|
||||
|
||||
Practical:
|
||||
It is an excellent shortcut for mid(6) expressions starting at the first
|
||||
character of <text>.
|
||||
|
||||
Returns:
|
||||
<text> with <num> characters removed from the end
|
||||
|
||||
Examples:
|
||||
$chop(5 abcdef) /* returns "a" */
|
||||
$chop(2 fnord) /* returns "fno" */
|
||||
|
||||
See Also:
|
||||
left(6); right(6); mid(6)
|
||||
|
||||
Reference in New Issue
Block a user