如何将CSV中字符串的双号去掉
CSV文件中有四列
A B C D
"1001","370202199402130021","",2000.30
通过streareader 一行一行的读取,
如何将字符串"1001","370202199402130021","",2000.30的双引号去掉,
变成1001,370202199402130021,,2000.30
谢谢
CSV
------解决方案--------------------string[] result = "\"1001\",\"370202199402130021\",\"\",2000.30".Split(',').Select(x => x.Trim('\"')).ToArray();