Parsing a chemical formula

前端 未结 5 837
离开以前
离开以前 2020-12-13 19:52

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

5条回答
  •  渐次进展
    2020-12-13 20:34

    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.

提交回复
热议问题