I'm sure this question has been asked before, but I don't find it.
How do I break a string without line breaks into lines of a specific maximum length?
The break should be placed at the latest white space before reaching the maximum line length.
A regular exression? I can't think of a way.
use Text::something??
or just the hard way, like I would do it in C???
Thank you for your attention
In reply to Breaking the lines by Ben Win Lue
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |