I am using GSM Module interfaced to Arduino through which i am sending an HTTP request using GPRS .
got the web content as follows.
{
"results" : [
{
"address_components" : [
{
"long_name" : "Gujarat State Highway 49",
"short_name" : "GJ SH 49",
"types" : [ "route" ]
},
{
"long_name" : "Kutch",
"short_name" : "Kutch",
"types" : [ "administrative_area_level_2", "political" ]
},
{
"long_name" : "Gujarat",
"short_name" : "GJ",
"types" : [ "administrative_area_level_1", "political" ]
},
{
"long_name" : "India",
"short_name" : "IN",
"types" : [ "country", "political" ]
},
{
"long_name" : "370640",
"short_name" : "370640",
"types" : [ "postal_code" ]
}
],
"formatted_address" : "GJ SH 49, Gujarat 370640, India",
"geometry" : {
"bounds" : {
"northeast" : {
"lat" : 23.2297433,
"lng" : 68.6187226
},
"southwest" : {
"lat" : 23.2285841,
"lng" : 68.6147017
}
},
"location" : {
"lat" : 23.2291147,
"lng" : 68.6166836
},
"location_type" : "GEOMETRIC_CENTER",
"viewport" : {
"northeast" : {
"lat" : 23.2305126802915,
"lng" : 68.6187226
},
"southwest" : {
"lat" : 23.2278147197085,
"lng" : 68.6147017
}
}
},
"place_id" : "ChIJYVFHUczIUzkRNi_9nrCp6zE",
"types" : [ "route" ]
}
],
"status" : "OK"
}
How can i copy particular string "GJ SH 49, Gujarat 370640, India" to another char string from the content.
Please help.Thanks in advance