title: How to increment the number in a String by 1?
body: <p>I have a below String as -</p>
  
  <pre><code>String current_version = "v2";
  </code></pre>
  
  <p>And here version can be either of these string as well - <code>v3</code> or <code>v4</code> or <code>v10</code> or <code>v100</code> or <code>v500</code> or <code>v1000</code></p>
  
  <p>Now I am looking to increment the current_version from <code>v2</code> to <code>v3</code>. Meaning I always need to increment the current_version by 1.</p>
  
  <p>If current_version is <code>v5</code>, then I will increment it to <code>v6</code>.</p>
  
  <p>How can I do this with a String?</p>
  
  <p>NOTE:- </p>
  
  <p>I am getting <code>current_version</code> string value from some method which will always return me like this v2, v3, v4 only..</p>