title: String tokenization using StringTokenizer in android
body: <p>I am trying to formate a string which has been received from a json into a new formate. The actual string is <code>[90.36855,23.750088333333334]</code> and my target is to convert it into two different strings like <code>90.36855</code> and <code>23.750088333333334</code>  </p>
  
  <p>I tried in the following way </p>
  
  <pre><code>String s = "[90.36855,23.750088333333334]";
  StringTokenizer st = new StringTokenizer(s, "[");
  String lat = st.nextToken();
  String lon = st.nextToken();
  </code></pre>
  
  <p>But it shows <code>FATAL EXCEPTION: main</code>. How can I solve this issue?</p>