title: best and simple String parsing in java
body: <pre><code>Ex String Param=Value1:100,Value2:2000,Value3:30000:
  </code></pre>
  
  <p>What is the best way in java to trim the above mentioned string format to get the First element's value?</p>
  
  <p>Result should be 100 (from the above mentioned Ex string param).</p>