in reply to Re: (jeffa) Re: Wordwrap text
in thread Wordwrap text
or#example 1 $content =~ s/(.{1,$width}) /$1<BR>/g; print $content;
The $width represents the largest number of characters each line should have.#example 2 $content =~ s/(.{1,$width}) |([^ ]{$width})/$1$2<BR>/g; print $content;
|
|---|