Thanks Shawn, but I need to basically split the string into two strings
between the words. I need to put the second half of the string into another
string.

        That may help with some future scripts though. Thanks for pointing it out.

David Gerler
Gerler Enterprises
PO BOX 16357
Chesapeake VA 23328
http://www.GerlerEnterprises.com/

Nationwide Dial-up from $12.45
http://www.EasySitesForLess.com/

-----Original Message-----
From: Shawn [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 23, 2002 2:28 PM
To: David Gerler; Beginners
Subject: Re: Cut string between the words


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]




-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to