Seeding from the 1.2 tree.
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