C# 字符串去除制表符回车符换行符

    技术2023-04-10  103

                #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

    Processed: 0.009, SQL: 9