title: How to subtract two string values in java
body: <p>Am having two string contaning integer values how can i subtract this to string.</p>
  
  <pre><code> String addquantity = quantity1.getText().toString();
   String subquantity = quantity2.getText().toString();
   int final_ = Integer.parseInt(addquantity) - Integer.parseInt(subquantity);
  </code></pre>
  
  <p>I tried many methods but its showing error , help me to subtract the value in string.</p>