Perl module to truncate long strings


String::Truncate is a Perl module useful for truncating any long string sequence and marking the place where any text has been elided (deleted). You simply tell the module the maximum string width and where to elide strings (at the right side, left side, in the middle or at the ends). It also supports a customized marker for elisions, but defaults to the most common symbol, the ellipsis (...). It can also prefer to break strings at whitespace where possible.

Upload more screenshots

Please help extend the collection of screenshots. Just make a screenshot and upload it here. You don't need to register or anything.

Upload a screenshot

Hint: upload an image here from your clipboard with Ctrl-V


Install this software package

If the package is available for the distribution you are currently using on your computer then install the software by clicking on…

Install libstring-truncate-perl