I am getting this string from server I need to remove first and last "

getting this

> 
> {"TestServiceResult":"[{\"screen\_refresh\_interval\":4,\"station\_list\_last\_update\":\"update4\"},{\"screen\_refresh\_interval\":4,\"station\_list\_last\_update\":\"update4\"},{\"screen\_refresh\_interval\":4,\"station\_list\_last\_update\":\"update4\"},{\"screen\_refresh\_interval\":4,\"station\_list\_last\_update\":\"update4\"},{\"screen\_refresh\_interval\":4,\"station\_list\_last\_update\":\"update4\"}]"}
> 
> 
> 

output

> 
> {"TestServiceResult":[{\"screen\_refresh\_interval\":4,\"station\_list\_last\_update\":\"update4\"},{\"screen\_refresh\_interval\":4,\"station\_list\_last\_update\":\"update4\"},{\"screen\_refresh\_interval\":4,\"station\_list\_last\_update\":\"update4\"},{\"screen\_refresh\_interval\":4,\"station\_list\_last\_update\":\"update4\"},{\"screen\_refresh\_interval\":4,\"station\_list\_last\_update\":\"update4\"}]}
> 
> 
> 

```
int index =test.indexOf('[');           
int index2 =test.indexOf(']');

```