|
-
Apr 14th, 2005, 12:06 PM
#1
Thread Starter
Member
HTML to Text - unwanted carriage returns added
I have a created an ASP which lists comma delimetered records onto a webpage. Each record (which would by a long comma delimetered string) is printed in a separate line.
I want the user to be able to save this to a text file using the browser's File -> Save As function (and selecting Text as file type), so it can be loaded into Excel.
However, when this text file is saved through the browser, unwanted carriage returns are added in the long strings, so a record is unnecessarily split into two. The carriage returns are added after the last space before the text becomes too long. I only want the CR at the end of a string, and NOT during the string.
Does anyone know, if there's an option in IE, so these unwanted CR's are avoided when a HTM is exported to a text file?
Thanks.
Last edited by Dr.Rock; Apr 15th, 2005 at 05:16 AM.
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
|