Site Tools


leftpc
no way to compare when less than two revisions

Differences

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


leftpc [2006/07/11 04:57] (current) – created - external edit 127.0.0.1
Line 1: Line 1:
 +# $EPIC: leftpc.txt,v 1.1.1.1 2006/07/11 04:57:43 jnelson Exp $
 +======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:======
 +<file>
 +$leftpc(10 onetwothre$chr(27)[34mefour) returns onetwothree<blue attribute>
 +</file>
 +
  
leftpc.txt · Last modified: 2006/07/11 04:57 by 127.0.0.1