Esempio n. 1
0
        public static string RemoveExtraCharacters(string input)
        {
            string result = input.Trim();

            result = result.Replace("\n", " ");
            result = result.Replace("\r", " ");
            result = result.Replace("\t", " ");
            result = result.Replace(" ", " ");
            result = result.Replace("&nbsp", " ");
            result = result.Replace("<br>", " ");
            result = StringCompare.RemoveDuplicateSpace(result);

            return(result);
        }