private void simpleButton_Remove_Click(object sender, EventArgs e) { string Answer = ReplaceO(textBox_Word.Text); label_WordResult.Text = Answer; } private string ReplaceO(string O) { string ReturnValue = ""; ReturnValue = Regex.Replace(O, "O", ""); return ReturnValue; }
Replace(String, String, String, RegexOptions)
RegexOptions.IgnoreCase
Quote:Not sure where i'm going wrong.
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)