in reply to How do I split up a long string with no spaces?
$string=~s/(\S{$numoflettersbeforebreaking})/$1 /g;
In Section
Seekers of Perl Wisdom
in reply to How do I split up a long string with no spaces?
$string=~s/(\S{$numoflettersbeforebreaking})/$1 /g;