Java - how to convert letters in a string to an number?
<p>Im quite new to java so i am wondering how do you convert a letter in a string to a number eg. "hello world" would output as "8 5 12 12 15 23 15 18 12 4". so a=1, b=2, z=26 ect. </p>

<p>thanks.</p>
