.. oe:namespace:: OEIUPAC

.. meta::
   :keywords: OEToBritish

.. oe:function:: OEToBritish

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

      .. oe:api::

         std::string OEToBritish(const char* ptr, bool sulph)

   .. oe:language:: python

      .. oe:api:: python

         OEToBritish(ptr: str, sulph: bool) -> str

   Convert the string 'ptr', typically the output of the function
   :oe:func:`OEIUPAC::OECreateIUPACName`, from the default American
   output, to either British spelling (when 'sulph' is ``true``) or
   IUPAC international spelling (when 'sulph' is ``false``).

   See :oe:constns:`OEIUPAC::OELanguage` for character set information.
