Hello everybody, im new here. I am trying to make a program about chemistry periodic table. I have the following problem. The user has to tell the program a compound formula. For example HCl, and the program must tell the user it's name in words. I can make it with one letter formula's as H->Hydrogen, Na->Sodium. But when there are two letters, i can't sepparate them. For example. NaCl means sodium chloride, but i can't identify what is chloride and what is sodium when all the letters are together. What can I do? Thanks.