ASP.NET C# 去掉字符串中间空格方法
时间:2014-06-18 21:18:50
收藏:0
阅读:215
string strName = "大 张 伟";
string str = Regex.Replace(strName, @"\s", "");
Response.Write("输出内容:" + str);
评论(0)