C# 字符串去除\r\m

2020-10-12  本文已影响0人  Rinaloving

问题

[
  "[\r\n  \"11:21:57\"",
  "\r\n  \"12:21:57\"\r\n]"
]

方法

System.Text.RegularExpressions.Regex.Replace(model.SAm, "\\s*|\t|\r|\n", "");
上一篇 下一篇

猜你喜欢

热点阅读