|
-
Oct 18th, 2000, 10:01 PM
#1
Thread Starter
Addicted Member
I have this address that comes from a user input in a TEXTAREA (memo field) on a web page... I put this string which contains an unknow number of linefeeds (could be 0 to infinite)... I need to write this address to a file but makin it fit in 4 lines each time.
Even if my variable (the address) contains 0 line feeds, I need the other 3 lines to be blank.
To the other extreme, if my address was entered on 10 lines (just for exemple) I need to have only 4 line. I would like to have the fisrt 3 line as they are and the rest of the lines (4 thru 10) on only one line.
Hope I was clear. Can this be done?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|