C# 去字符串首尾指定符号或字符 超简单方法 电脑版发表于:2018/11/23 10:28 TrimStart():匹配开头字符,有则移除TrimEnd():匹配结尾字符,有则移除再也不用repalce substring了!!!