Synopsis: $leftpc( ) Technical: This function returns the leftmost printable characters of , taking into account ANSI color codes. Returns: number of printable characters in Examples: $leftpc(10 onetwothre$chr(27)[34mefour) returns onetwothree