OEParseIUPACName

bool OEParseIUPACName(OEChem::OEMolBase &mol, const char *name)

This function parses the compound name (not necessarily a systematic or preferred IUPAC name) from the NULL-terminated string given by name, and places the processed molecule in mol. This function returns true if the name could be parsed without problems and false otherwise. If the function returns false, the mol will contain as much of the name as could be processed.