Hello if I have a string that is like
"[[{abc}, {abc}, {abc}]]....blah".
How can I get it to just be
"[{abc}, {abc}, {abc}]"
I want to start with the first "[" and end with the last "]" I tried substring but it only works if the string length never changes.
var newString = oldstring.substring(1) //this starts at the second "[" but how to continue till the last "]"?