Hi all,
I have an alphanumeric array "31A16XB 5B4A3D 3P2RX".I want the solution of this array in a way i am going to mention.
The numbers are multiplied by 26 and the next alphabet's position(0-25) is added to it.
for example,
For 31A =31*26 +(position of A that is 0)=806
and for 16X=16*26+(position of X that is 23)=439
and for B=(only position of B that is 2)=1
Continue in this way i need 806,439 and 1 etc. in an array as a final output.



LinkBack URL
About LinkBacks



