Check out Text::Wrap on CPAN. http://search.cpan.org/doc/MUIR/Text-Tabs+Wrap-2001.0131/lib/Text/Wrap.pm
Shawn ----- Original Message ----- From: "David Gerler" <[EMAIL PROTECTED]> To: "Beginners" <[EMAIL PROTECTED]> Sent: Tuesday, July 23, 2002 1:16 PM Subject: Cut string between the words > I figure that I can use substr() to cut up a string, but how do I make it > between words? > > How do I measure a string to see if it is greater than 85 characters? > > Basically, if the string is more than 85 characters, how do I break it at > the last full word? > > > David Gerler > Gerler Enterprises > PO BOX 16357 > Chesapeake VA 23328 > http://www.GerlerEnterprises.com/ > > Nationwide Dial-up from $12.45 > http://www.EasySitesForLess.com/ > > > -- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]