CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
Search Posts SEARCH
Who's Online WHO'S
Log in LOG

Home: Perl Programming Help: Intermediate:
Help In Cutting Texts...



Mar 30, 2001, 7:21 AM

Post #1 of 2 (497 views)
Help In Cutting Texts... Can't Post

I need a Loop that will cut the text thats in a @text .
It should cut the 40 chars that are in the first sentence , but it should know where there is "SPACE" , and if there is it should cut a word before it .
The rest of the sentence should paste into the next line so it will cut again .
After every 40 chars (Or less) the program will add <BR> .
I need also that the program will stop after 5 lines .

Whats very important that the terms of cutting (the length[40] and the lines[5] will be a variables so I can change it to the cases depends on what I'll need it.

Thanks !!!!!!!!!!!!



Mar 31, 2001, 9:25 AM

Post #2 of 2 (491 views)
Re: Help In Cutting Texts... [In reply to] Can't Post

Could someone please post some help here?
Its really urgent , so please people ...
Take it searius , I realy need that , becouse my text is in a right-to-left wrritten language ......


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives