I\'m trying to write a method for an app that takes a chemical formula like \"CH3COOH\" and returns some sort of collection full of their symbols.
CH3COOH would retu
Have you looked into expressing your chemical formulas in Chemical Markup Language? It is very versatile and there are lot of tools/viewers out there that can render these chemical forumulas or compounds in 2D to 3D.