I have a string of characters e.g. "abds236789plmn".
No character is ever repeated twice in the string.
What I am after doing is creating a function which converts a number to a value from the string.
If i call function sequence(1) it will return a.
1 = a
14 = n
16 = bn
28 = nn
I tried using str_length and treating the string as array and adding 1 to the index.
Thanks for reading.