string str = "a,b,c,d,e";
string[] strArray = str.Split(‘,‘); //字符串转数组
str = string.Empty;
str = string.Join(",", strArray);//数组转字符串
原文地址:https://www.cnblogs.com/xiaowei3632/p/9243618.html
时间: 2024-12-14 08:45:54
string str = "a,b,c,d,e";
string[] strArray = str.Split(‘,‘); //字符串转数组
str = string.Empty;
str = string.Join(",", strArray);//数组转字符串
原文地址:https://www.cnblogs.com/xiaowei3632/p/9243618.html