首页 > 技术文章 > 一些小技巧收集,持续更新。

jicheng 2018-05-22 14:38 原文

//去除字符串所有的空格 
string myString=Regex.Replace(myString, @"\s", "")

 

推荐阅读