English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية
toLowerCase()The method is used to convert a string to lowercase.
string.toLowerCase()
var str1 = "www.oldtoolbag.com"; var str2 = str1.toLowerCase();Test See‹/›
All browsers fully support the toLowerCase() method:
Method | |||||
toLowerCase() | Yes | Yes | Yes | Yes | Yes |
Return Value: | New string representing the call to convert to lowercase |
---|---|
JavaScript Version: | ECMAScript 1 |