JavaScript Reference/Javascript Methods/toLowerCase

Материал из Web эксперт
Перейти к: навигация, поиск

"toLowerCase()" Example

    
<html>
<body>
<button onclick="var myS = new String("Sample String"); alert(myS.toLowerCase());">
to lowercase
</button>
</body>
</html>



"toLowerCase()" is applied to

+----------------+--------------------------------------------------------------+
| Applied_To     |String                                                        |
+----------------+--------------------------------------------------------------+



"toLowerCase()" Syntax Parameters and Note

Note:
Converts the String to lowercase.
    
Syntax:
    
stringName.toLowerCase()