English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية
toLocaleLowerCase()The method converts the string to lowercase in a locale-specific manner.
In most cases, this method will produce the same result astoLowerCase()The same result, but for some language environments (such as Turkish), the case mapping may be different from the default case mapping in Unicode.
string.toLocaleLowerCase()
var str = "www.oldtoolbag.com"; var low = str.toLocaleLowerCase();Test See‹/›
All browsers fully support the toLocaleLowerCase() method:
Method | |||||
toLocaleLowerCase() | Yes | Yes | Yes | Yes | Yes |
Return Value: | A new string representing the call string will be converted to lowercase according to any language-specific case mapping. |
---|---|
JavaScript Version: | ECMAScript 1 |