且构网

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

如何分割逗号分隔的字符串

更新时间:2022-12-27 20:31:39

尝试使用string.Split来实现您想要的功能(您可能还需要使用string.Trim删除空格)
Try using string.Split which does pretty much exactly what you want (you may also need to use string.Trim to remove whitespace)