Remove Control Characters but maintian format

ss_kiran

Member
Hi all,

I am outputing a database field which is of type WIDGET, into a CSV file. The users store mail contents (Cut and paste a Mail body). I want to output the same file without changing the output format.
All this details should be outputed into a single cell.

Although I am able to put the contents to an CSV file , the problem I am facing is , It put the chr(10) character whenever there is a linefeed.

How do I get rid of this linefeed, and restore the format.

In simple terms , I don't want to see this control characters, but I want Original format to remain the same.

Version:9.1C GUI, windows NT.

TA
Kiran
 
Top