Representation of chemical formulas as strings?
If I understand your question correctly, the simplified molecular-input line-entry system (SMILES) and the IUPAC International Chemical Identifier (InChI) are two examples of "human-readable" string notations for chemical formulas your are looking for.