Need help in stripping out unwanted characters in a text file.

I exported a EXCEl spread sheet to a .csv file. I fI look at the file 
in notepad all entries show up on individual lines. But on closer 
inspection there are either "CR" or "LF" charcters on some lines.

Therfore when I open the file into oa TMemo component it seperates any 
line that contains one of these characters into two lines.

I tried reding it into a stringlist and then writing the individual 
lines to a TMemo but that produced the same result.

How can I remove these characters (ie CR & LF) charaters that are in 
the middle of some of the lines.

Thanks




------------------------ Yahoo! Groups Sponsor --------------------~--> 
<font face=arial size=-1><a 
href="http://us.ard.yahoo.com/SIG=12hfo1fv5/M=362131.6882499.7825260.1510227/D=groups/S=1705115362:TM/Y=YAHOO/EXP=1123695909/A=2889191/R=0/SIG=10r90krvo/*http://www.thebeehive.org
">Get Bzzzy! (real tools to help you find a job) Welcome to the Sweet Life 
- brought to you by One Economy</a>.</font>
--------------------------------------------------------------------~-> 

-----------------------------------------------------
Home page: http://groups.yahoo.com/group/delphi-en/
To unsubscribe: [EMAIL PROTECTED] 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/delphi-en/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to