title: How do I determine the largest value number in a String?
body: <p>Consider the following String:</p>
  
  <pre><code>String test= "0, 1, 3, 2, 2, 1, 1, 4, 2, 5, 1, 1, 0, 1, 241";
  </code></pre>
  
  <p>The largest value is the last value, <code>241</code>.  How do I get the count, <code>15</code>, of this number within the String, as 241 is the 15th number in the String, and the largest number in the row?</p>
  
  <p>Second example:</p>
  
  <pre><code>String test=  "0, 1, 3, 2, 2, 1, 1, 4, 30, 5, 1, 1, 0, 1, 5";
  </code></pre>
  
  <p>The result should be 9 as 30 is the largest number and in the 9th place in the String.</p>