how to convert alphabts to numbers

Status
Not open for further replies.
Aug 22, 2018
1
0
10
Ex: input is black
A=1,b=2-----------z=26
so by these values if b=2 l=12then their difference 10 so means j should printed between b and l.

The output should be bjkabcgk
 

zoltan.boese

Notable
Jan 30, 2018
152
0
910
I guess you have to be more detailed.
You can create a look up table and assign a value to each letter of the alphabet. You can do that with a "case" command or open an excel sheet then use the vlookup() function.
The second part of your post is not clear. Do you want to sort the letters (j,k,b)?
Do you want to convert the string "bjkabcgk" into numbers?
 
Status
Not open for further replies.