.. _String.localeCompare: ================================================ String.localeCompare ================================================ :ref:`number` **localeCompare** (:ref:`string` **what**) Parameters ---------- +----------+-----------------------------+ | **what** | The string to compare with. | +----------+-----------------------------+ Description ----------- Performs a localized comparison of two strings.