String.localeCompare

Number localeCompare (String what)

Parameters

what The string to compare with.

Description

Performs a localized comparison of two strings.