I have a CSV file that produce an empty column every other column due to a ,,
delimiter. I"m trying to remove these empty columns, but I can't figure out how to loop thru the rows and replace the ,,
with ,
.
Any help looping thru the lines and replacing the delimiters would be greatly appreciated.
Thanks!
Example data:
Year,,2005-12,,2006-12,,2007-12,,2008-12,,2009-12,,2010-12,,2011-12,,2012-12,,2013-12,,2014-12,,TTM
Data1,,100.00,,100.00,,100.00,,100.00,,100.00,,100.00,,100.00,,100.00,,100.00,,100.00,,100.00
....