I have a very long string containing no newlines. I want to insert a "\n" every 128 characters.
Text::Wrap doesn't do what I want as it breaks lines at whole words, resulting in lines that can be less than 128 characters.
Originally posted as a Categorized Question.
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |