std::string OEReorderIndexName(const char *ptr)

Attempt to reorder the specified permuted index name. This permute strings such as “benzene, chloro-” into the form “chloro-benzene” which can then be processed by the OEParseIUPACName function.

This function returns an empty string (or the original input string) if its argument is not recognized as a permuted index name.