[Edit]+0-0C# replace all occurrences of character with empty stringlena714Copy1 2 3 string text = "ABCA"; string character = "A"; text = text.Replace(character, "");