Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 923

Re: How to remove space and comma in csv download files

$
0
0

Hi Jayan,

 

The problem is your file cells contains "," which at the same time is your csv separator.

  info += encodeURIComponent(valor) + ',';


You should change your csv separator from"," to ";" or another one.

This way you won't have this issues anymore.

Once you change your separator, the previous sentence would look like this:

info += valor + ';';


In thenext post you can find the explanation on how to change your csv file separator.

Import or export text (.txt or .csv) files - Excel

 

Regards,

Emanel


Viewing all articles
Browse latest Browse all 923

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>