The following bit of C# code does not seem to do anything:
String str = \"{3}\"; str.Replace(\"{\", String.Empty); str.Replace(\"}\", String.Empty); Console
besides all of the suggestions so far - you could also accomplish this without changing the value of the original string by using the replace functions inline in the output...
String str = "{3}"; Console.WriteLine(str.Replace("{", String.Empty).Replace("}", String.Empty));