| Home | Tutorials | Forums | Articles | Blogs | Movies | Library | Employment | Press | Buy templates |
|
|
#1 |
|
Don
Join Date: Feb 2003
Location: Akron, Ohio USA
Posts: 1,974
|
In my txt file the following line:
&acqui0=ATC Distribution Group Louisville, KY October 2000 (RCAF 2000) gets displayed in the text box like this with this extra spacing: ATC Distribution Group Louisville, KY October 2000 (RCAF 2000) How can I get rid of this extra spacing?
__________________
Damn the torpedoes! Full speed ahead. |
|
|
|
|
|
#2 |
|
Registered User
Join Date: May 2003
Posts: 848
|
You mustn't use the formatting capabilities of your text editor to space out text.
The reason you get the extra spaces is that you have an \r and a \n code as a result of pressing <enter> to space out your text. What you must do is turn on HTML formatting on the text box (text properties inspector) and format your text file like this: acqui0=ATC Distribution Group<br>Louisville, KY<br>October 2000 (RCAF 2000) (Note that the leading '&' is not necessary). You could also try: acqui0=<p>ATC Distribution Group</p><p>Louisville, KY</p><p>October 2000 (RCAF 2000)</p> And I'd recommend doing this to make sure there are no trailing codes: acqui0=ATC Distribution Group<br>Louisville, KY<br>October 2000 (RCAF 2000)&dummy=foo |
|
|
|
|
|
|
|
|
#3 |
|
Don
Join Date: Feb 2003
Location: Akron, Ohio USA
Posts: 1,974
|
Ok, but the text is being entered in through VB and it gets saved to a database. So somewhere is VB I need to account for the \r and a \n code and sub in <br> or <p>.
Ok, I'll check with the vb forum and see what they say.
__________________
Damn the torpedoes! Full speed ahead. |
|
|
|
|
|
#4 |
|
Registered User
Join Date: May 2003
Posts: 848
|
The \r and \n symbols are just Flash's way of representing a linefeed and carriage return.
If the VB inserts the right code(s) there won't be a problem. What is it inserting at the moment? Play around with it first - I bet it is quite straightforward. |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|