string str1 = \"12345ABC...\\\\...ABC100000\"; // Hypothetically huge string of 100000 + Unicode Chars str1 = str1.Replace(\"1\", string.Empty); str1 = str1.Rep
StringBuilder sb = new StringBuilder("Hello string"); sb.Replace("string", String.Empty); Console.WriteLine(sb);
StringBuilder, a mutable string.