12345
sub WordWrap { my ($text) = @_; $text =~ s!(\s|^)([\S]{20,}?)([\S]*)(\s|$)!$1$2 $3$4!g; return $text;}