printlen
no way to compare when less than two revisions
Differences
This shows you the differences between two versions of the page.
— | printlen [2006/08/29 16:08] (current) – created - external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | # $EPIC: printlen.txt, | ||
+ | ======Synopsis: | ||
+ | $__printlen__(< | ||
+ | |||
+ | ======Technical: | ||
+ | * The return value is the number of printable characters in < | ||
+ | * ANSI escape sequences will be counted as printable characters by this function! \\ Convert < | ||
+ | |||
+ | ======Practical: | ||
+ | Useful if you want to format columns of things that may contain highlight | ||
+ | attributes. | ||
+ | |||
+ | ======Returns: | ||
+ | number of *printable* characters in < | ||
+ | |||
+ | ======Examples: | ||
+ | $printlen(blah**C**4, | ||
printlen.txt · Last modified: 2006/08/29 16:08 by 127.0.0.1