This is a more complex question than it may seem at first. Generally, you will need to do it yourself if you want to convert a character to a number string. You can have a list of characters ["a","b"...] corresponding with a list of replacements ["00001","00010"...] and then go through the list of characters and use SUBSTR$ to change the characters to the corresponding characters