I have a string that will vary the values, I need to get the values inside the [],
{"time_zones":[]}
In case it would be empty, it could be filled:
{"time_zones":[teste]}
I'm trying to do this
var palavras = a.Split('[');
var palavra = palavras[1];
But it returns me the rest of the code: ]}
In case if there was nothing, the value was empty, if it was filled I needed the test. (this value varies);