Replace Letters in String with Numbers
Posted on 2007-10-02
If someone could give me the whole html page from <html> to </html> that would be awesome!
Here are the basic rules for this translation:
i. 0 9 = 0 9
ii. A = 22
iii. B = 222
iv. C = 2222
v. D = 33
vi. E = 333
vii. F = 3333
So if I typed into the form: 000b8200e395 I would get the number --> 0002228200333395
The 'B' was converted to '222' and the 'E' was converted to '333' and the string was put back together.