且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

用空格分隔字符串,但忽略引号中的空格

更新时间:2023-01-14 21:02:33

我建议您参考现有的解决方案比重新创建自己的解决方案(除非你要学习经验!)解析CSV比看起来更麻烦。

I recommend referring to an existing solution than reinventing your own (unless you're going for the learning experience!) Parsing CSV is trickier than it seems.

编辑:没有看到您使用的是C#。 这里 更多 链接

Didn't see you were using C#. Here are more links.