The following bit of C# code does not seem to do anything:
String str = \"{3}\"; str.Replace(\"{\", String.Empty); str.Replace(\"}\", String.Empty); Console
The Replace function returns the modified string, so you have to assign it back to your str variable.
str
String str = "{3}"; str = str.Replace("{", String.Empty); str = str.Replace("}", String.Empty); Console.WriteLine(str);