I want to remove the number and braces but splicing results in the string between the index taken from the string. I just want it removed leaving me with: "1234 ..... ABCDEFG"
var mystring = "1234 ..... { 400 } ABCDEFG";
var s1 = mystring.indexOf("{");
var s2 = mystring.indexOf("}");
mystring = mystring.splice(s1,s2);