net 根据字符串中的指定字符加单双引号

string strs = "1,2,3,4,5,6";
strs = string.Format("'{0}'",strs.Replace(",","','"));
posted @ 2022-07-30 14:36  yuezc97  阅读(132)  评论(0)    收藏  举报