in reply to
How to divide single string across multiple lines?
$str =~ s/(.{60})/$1\n/g;
Comment on
Re: How to divide single string across multiple lines?
Download
Code
Replies are listed 'Best First'.
Re^2: How to divide single string across multiple lines?
by
Osiris1975
(Novice)
on Jun 29, 2009 at 19:45 UTC
thank you ,that worked wonderfully.
[reply]
In Section
Seekers of Perl Wisdom