CSV contains carriage returns

Post Reply
matthew.hearne
Member
Posts: 24
Joined: Thu Dec 19, 2019 3:00 pm

CSV contains carriage returns

Post by matthew.hearne »

We have incoming data (a CSV) and some of the fields contain carriage returns. If we turn this CSV into XML, it's creating a lot more XML files that there are lines in the CSV due to all the carriage returns.

How can we remove the carriage returns in the CSV before converting to XML?

Thanks.
freddyp
Advanced member
Posts: 1022
Joined: Thu Feb 09, 2012 3:53 pm

Re: CSV contains carriage returns

Post by freddyp »

It will work with this app https://www.enfocus.com/en/appstore/pro ... ng-replace

In the "Strings" property write "\n= ". It is without the quotes and note the space!
Post Reply