+ 1
strings
how to convert a alphabetical string in numerical value ?
3 Respostas
+ 3
You could do somthing like this, it will only work with lower case letters, somthing you can improve on if it helps.
    char alpha = 'a';
    int position = alpha-96;
    System.out.print("letter "+alpha+" = "+position);
0
what language ?



