Solved

How to remove double quotes from CSV file.

  • 20 October 2023
  • 6 replies
  • 249 views

Userlevel 7
Badge +10

Hi Team,

I have CSV file in which i am getting “ ” double , I want to remove this quotes.

Every line getting with “ ” quotes.


 

In the data provider, set the parameter to False for the enclose all values in double quotes still it is giving like this.

 

icon

Best answer by Robert Sternberg 12 December 2023, 00:47

View original

6 replies

Userlevel 4
Badge

I’ve found the best way would be to open it in Notepad, do a CTRL + H, which brings up another small screen 

Put your criteria in the top box, the one that is highlighted in blue, but put the double quotes in there instead, “” and don’t use anything in the second line directly underneath the top line. Leave that second line blank. Then click on the “Replace all” on the left hand side. That should do the trick.

Userlevel 7
Badge +10

 Hi @wmatthews1877 ,

I want the file generated from the export scenario to not include double quotes.

Regards,

Sweta

Userlevel 4
Badge

Sorry, I guess I missed something somewhere. What is your data source and are you running any scripts such as Powershell, batch file or SQL Server export? 

Userlevel 7
Badge +10

Hi @wmatthews1877,

 

My Data Provider Type is CSV file and I am running the SQL server script to export the file. From this, I am getting Double Quotes while exporting file.

 

Regards,

Sweta

Userlevel 7
Badge

Hi @sweta68 were you able to find a solution? Thank you!

Userlevel 7
Badge +8

HI @sweta68 the line enclosed in double quotes is a CSV file standard for lines with spaces, if you remove the spaces in your line you will not find the double quotes are added. 

Reply


About Acumatica ERP system
Acumatica Cloud ERP provides the best business management solution for transforming your company to thrive in the new digital economy. Built on a future-proof platform with open architecture for rapid integrations, scalability, and ease of use, Acumatica delivers unparalleled value to small and midmarket organizations. Connected Business. Delivered.
© 2008 — 2024  Acumatica, Inc. All rights reserved