I will receive this value from a server as a String value
String responserecivied = {"dummyuser":{"Number":1,"CUSID":1}}
Is it possible to remove the first and last curly brackets from the above string , so that it looks like
"dummyuser":{"Number":1,"CUSID":1}
It is possible:
String s = yourString.substring(1, yourString.length() - 1);
However, please note that your string is actually a JSON, so you may want to parse it using a JSON reader.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.