
yotam_k
Deleted
Apr 4, 2001, 2:16 AM
Post #1 of 1
(1314 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 . after that It should print whats achieved to the screen. 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 !!!!!!!!!!!! Yotam.
|