C# 中 string 的 Replace 可跟两个参数:
s.Replace(oldValue, newValue)
oldValue:既不允许为 null,也不允许为零长度字符串。
newValue:既允许为 null,也允许为零长度字符串,null 等效于零长度字符串。
创建于2005年 渝ICP备05010272号-1
电邮:cftea@126.com