in reply to How do I split a string at a char position that's also the end of a word?

Use the Text::Wrap module, in the core for newer perls, or on CPAN.
  • Comment on Re: How do I split a string at a char position that's also the end of a word?