title: Convert character to ASCII numeric value in java
body: <p>I have <code>String name = &quot;admin&quot;;</code><br />
  then I do <code>String charValue = name.substring(0,1); //charValue=&quot;a&quot;</code></p>
  <p>I want to convert the <code>charValue</code> to its ASCII value (97), how can I do this in java?</p>