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; }
Quote:Not sure where i'm going wrong.
Replace(String, String, String, RegexOptions)
RegexOptions.IgnoreCase
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)