.. oe:namespace:: OEIUPAC

.. meta::
   :keywords: OEParseIUPACName

.. oe:function:: OEParseIUPACName

   .. oe:language:: c++ java csharp

      .. oe:api::

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

   .. oe:language:: python

      .. oe:api:: python

         OEParseIUPACName(mol: Union[OEGraphMol,OEMol,OEQMol], name: str) -> bool

   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.
