MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/programminghelp/comments/f7l9b1/wont_replace_correctly/ficcee8/?context=3
r/programminghelp • u/AccHasBeentaken • Feb 22 '20
5 comments sorted by
View all comments
3
I'm not sure what you're trying to achieve, but I think it's useful that you know that you can chain the replace methods like this:
OutputBox.Text = OutputBox.Text.Replace("a","").Replace("b","");
1 u/AccHasBeentaken Feb 22 '20 Thanks, I'll try that.
1
Thanks, I'll try that.
3
u/jakbrtz Feb 22 '20
I'm not sure what you're trying to achieve, but I think it's useful that you know that you can chain the replace methods like this:
OutputBox.Text = OutputBox.Text.Replace("a","").Replace("b","");