title: How do I find out if first character of a string is a number?
body: <p>In Java is there a way to find out if first character of a string is a number?</p>
  
  <p>One way is </p>
  
  <pre><code>string.startsWith("1")
  </code></pre>
  
  <p>and do the above all the way till 9, but that seems very inefficient. </p>