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;12345 64;DFLKDF; INDIA GROCERIES
1231321;987987987;32132168 1618;87878 78787878;2 2113213213 1;FINE TECH
BUT AFTER SAVING THIS PAGE AS TEXT
THE TEXT FILE SHOWS AS FOLLOW
1234;89898;0UDKLFHUF;12345 64;DFLKDF; INDIA
GROCERIES
1231321;987987987;32132168 1618;87878 78787878;2 2113213213 1;FINE
TECH
IF SPACE FIND GOES TO NEXT LINE
HOW TO SOLVE THIS ISSUE TO SAVE THIS FILE SAME AS HTML TO TEXT
IN HTML THERE ARE 3 LINES OF RECORDS AS FOLLOWS
1234;89898;0UDKLFHUF;12345
1231321;987987987;32132168
BUT AFTER SAVING THIS PAGE AS TEXT
THE TEXT FILE SHOWS AS FOLLOW
1234;89898;0UDKLFHUF;12345
GROCERIES
1231321;987987987;32132168
TECH
IF SPACE FIND GOES TO NEXT LINE
HOW TO SOLVE THIS ISSUE TO SAVE THIS FILE SAME AS HTML TO TEXT
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
done
what do you mean by done?
ASKER
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
<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
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.