title: Format response array from http
body: <p>please help me to format my response from http.
  Posting with AsynckTask</p>
  
  <pre><code>protected String doInBackground(String... params) {
          // TODO Auto-generated method stub
           HttpClient httpclient = new DefaultHttpClient();
  
              HttpPost httppost = new HttpPost("http/test.php");
  
              try {
                  // Add user name and password
               String latitude = "44.754535";
               String longitude = "11.178589";
               String range = "222";
  
  
  
                 List&lt;NameValuePair&gt; nameValuePairs = new ArrayList&lt;NameValuePair(2);
                  nameValuePairs.add(new BasicNameValuePair("latitude", latitude));
                  nameValuePairs.add(new BasicNameValuePair("longitude",longitude));
                  nameValuePairs.add(new BasicNameValuePair("range", range));
  
                  httppost.setEntity(new UrlEncodedFormEntity(nameValuePairs));
  
                  // Execute HTTP Post Request
                  Log.w("SENCIDE", "Execute HTTP Post Request");
                  HttpResponse response = httpclient.execute(httppost);
  
                  String str = inputStreamToString(response.getEntity().getContent()).toString();
                  Log.w("SENCIDE", str);
  
                  if(str.toString().contains("da"))
                  {
  
                  content=str.toString();
  
                  }else
                  {
  
                   System.out.print(str);             
                  }
  
              } catch (ClientProtocolException e) {
               e.printStackTrace();
              } catch (IOException e) {
               e.printStackTrace();
              }
              return content;
          } 
  </code></pre>
  
  <p>The log is this one :</p>
  
  <pre><code>`{"success":0,"error_message":" 16.07 km da Motta"}
  </code></pre>
  
  <p>`</p>
  
  <p>So the goal is to have only <strong>16.07 km da Motta</strong> without changing php part.
  See there are 3 items in aray, have some ideas to get 3rd object from array.
  Tnx in advance.</p>