Returns a string where all alphabetic characters have been converted to uppercase, taking into account the host environment's current locale.
function toLocaleUpperCase() : String
The toLocaleUpperCase method converts the characters in a string, taking into account the host environment's current locale. In most cases, the results are the same as you would obtain with the toUpperCase method. Results differ if the rules for a language conflict with the regular Unicode case mappings.