#region 字符串去除制表符回车符换行符 public string strChar(string Str) { string ReStr = Str; if (!(Str == "" || Str == null)) { if (Str.Length > 0) ; ReStr = Str.Replace("\n", "").Replace("\t", "").Replace("\r", ""); } return ReStr; } #endregion