I call a web service and it retuens the values in the following format
$response = $client->submitRequest($requestParams);
Which returns
stdClass Object( [return] => stdClass Object ( [result_code] => 0 [result_data] => City[0]=Chicago [message_text] => ))
what I want is just the value for
[result_data] => City[0]=Chicago
assigned to a variable
Psedo Code
$city = [result_data] => City[0]=Chicago;
so that $city = Chicago;