I was just wondering whether it is possible to convert characters into their ASCII values or values in the alphabet easily without needing a load of if statements.
The only way I can think of doing it is the afformentioned by using an if and 25 else if statements.
Thanks