I am trying to create a CSV file off an excel file. the problem is, whenever I create the CSV file, it treats every cell in the header/trailer as a cell with information in it.
What do i do to prevent those extra trailing ,
(commas) in the csv?
Sample excel file:
Here is what the delimited file looks like. I don't want all those extra commas.
td,sd,HDR,020321,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
20210130,20210202,2610081743,2610081743,PSHG,2610081743,,,C,595017BH7,PB 1234
20210130,20210202,2612230531,2612230531,PSHG,2612230531,,,C,02156BEE5,PB 45657
20210130,20210202,3101140730,3101140730,PSHG,3101140730,,,S,EXGA,PB 8910
20210130,20210202,3210231839,3210231839,PSHG,3210231839,,,S,SITP,PB 1111
20210130,20210202,3210231935,3210231935,PSHG,3210231935,,,S,EU000A285,PB 2222
,,TLR,5,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,