Description
The toLowerCase() method is used to convert a string to lowercase letters.
This method has the form:
string.toLowerCase()
Examples
The following example shows the basic use of this method.
<script>
var s = "Hello from JavaScript";
document.write(s.toLowerCase());
</script>
This produces the following result:
Browser Support
Firefox | IE | Chrome | Opera | Safari |
---|---|---|---|---|