title: How can you compare strings in android with greater than
body: <p>I was wondering if there is a way to compare strings in android with greater than or >.</p>
  
  <p>Lets say I have this:</p>
  
  <pre><code>String numbers = number.getText().toString();
  if (numbers.equals("9")){
  output.setText("50");}
  </code></pre>
  
  <p>so if you enter 9 in the number EditText field the output TextView will display 50.<br>
  I have quite a few different numbers that will then = a different number but what can I do   if I want 10,11,12,13,etc to = 100?</p>
  
  <p>Is there a way to do this by using something like this?</p>
  
  <pre><code>if (numbers.equals("9"++))
  </code></pre>
  
  <p>or is there some kind of wildcard in android like</p>
  
  <pre><code>if (numbers.equals("1"+"*"))
  </code></pre>
  
  <p>i know if i replace the * with zero it will be 10 so if this is possible I could make  one for 1, one for 2, one for 3, etc. and this would still save me so much code.<br>
  If this is not possible let me know if you have any ideas.</p>
  
  <p>Thanks guys!</p>