How to remove a given particular symbol from a string using C#

ronniepeach

New Member
I have a string like \[code\]string value = "http://stackoverflow.com/questions/12420132/Power:'{Comma}'";\[/code\]I need to remove { and } symbols from the string.I tried value.Replace('{', ' '); and value.Replace('}', ' '); But this gives space. I dont want space, just want to remove the symbol.Please suggest.
 
Back
Top