Site Tools



This shows you the differences between two versions of the page.

Link to this comparison view

leftpc [2006/07/11 04:57] (current)
Line 1: Line 1:
 +# $EPIC: leftpc.txt,v 2006/07/11 04:57:43 jnelson Exp $
 +$__leftpc__(<count> <text>)
 +This function returns the leftmost <count> printable characters of <text>,
 +taking into account ANSI color codes.
 +<count> number of printable characters in <text>
 +$leftpc(10 onetwothre$chr(27)[34mefour) returns onetwothree<blue attribute>
leftpc.txt ยท Last modified: 2006/07/11 04:57 (external edit)