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:
15
bitchx-docs/6_Functions/leftpc
Normal file
15
bitchx-docs/6_Functions/leftpc
Normal file
@@ -0,0 +1,15 @@
|
||||
Synopsis:
|
||||
$leftpc(<count> <text>)
|
||||
|
||||
Technical:
|
||||
This function returns the leftmost <count> printable characters of <text>,
|
||||
taking into account ANSI color codes.
|
||||
|
||||
Returns:
|
||||
<count> number of printable characters in <text>
|
||||
|
||||
Examples:
|
||||
$leftpc(10 onetwothre$chr(27)[34mefour)
|
||||
returns
|
||||
onetwothree<blue attribute>
|
||||
|
||||
Reference in New Issue
Block a user