Link to home
Start Free TrialLog in
Avatar of faizershez
faizershez

asked on

HTML TO TEXT

I'M TRY SAVE HTML PAGE AS .TXT FILE
IN HTML THERE ARE 3 LINES OF RECORDS AS FOLLOWS

1234;89898;0UDKLFHUF;1234564;DFLKDF;INDIA GROCERIES
1231321;987987987;321321681618;8787878787878;221132132131;FINE TECH

BUT AFTER SAVING THIS PAGE AS TEXT
THE TEXT FILE SHOWS AS FOLLOW

1234;89898;0UDKLFHUF;1234564;DFLKDF;INDIA
GROCERIES
1231321;987987987;321321681618;8787878787878;221132132131;FINE
TECH

IF SPACE FIND GOES TO NEXT LINE
HOW TO SOLVE THIS ISSUE TO SAVE THIS FILE SAME AS HTML TO TEXT





Avatar of landship
landship

How are you saving the file? From what program? What program are you using to view the text file?

Spaces should not go to next line unless the text viewer you use displays a smaller width than the text it is displaying. Most text viewers do what is called word-wrap which can usually be turned off in the settings if that is your issue.
ASKER CERTIFIED SOLUTION
Avatar of Ray Paseur
Ray Paseur
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Avatar of Dany Balian
Dany Balian
Flag of Lebanon image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of faizershez

ASKER

done
what do you mean by done?
the oracle select statement follows

<cfquery>
select a||b||c from a;
</cfquery>

above c column data contain spaces in between
so replace those space in between using
replace(c,' ','-')

so out put is coming each record in each line