How to remove control-M reading from .csv?

I am reading in a csv file and it has a control character ^M at the end of each line.
how can I remove these charaters? Thanks.

Comments

  • if you place the following line before you start reading the file it should take care of removing the Control-M

    put empty into the defaultLineDelimiter
  • It works, thanks.
Sign In or Register to comment.