摘要: 有点特别的是,在我们使用replace进行换行符的替换时,需要按顺序进行。private string cleanString(string newStr) { string tempStr = newStr.Replace("\n", ""); return tempStr = tempStr.Replace("\r", ""); } 阅读全文
posted @ 2014-01-15 03:08 被谋杀的诗篇 阅读(7243) 评论(0) 推荐(0) 编辑