title: Convert each character of string into integer
body: <p>I have hard coded 'a to z' integers with their respective integer/number values.
  like</p>
  
  <pre><code>    int a=0, b=1, c=2, d=3, e=4, f=5, g=6;   
  </code></pre>
  
  <p>Now i have an edit text which can take input like abcdefg. I want to convert each character of string into int so that i can get
  0123456 in return of abcdefg
  Is that possible? please help. Thanks in advance.</p>