Definition and Usage The toLowerCase() method is used to display a string in lowercase letters. Syntax stringObject.toLowerCase() ...
Definition and Usage
The toLowerCase() method is used to display a string in lowercase letters.Syntax
stringObject.toLowerCase() |
Example
In this example "Hello world!" will be displayed in lower case letters:<script type="text/javascript"> var str="Hello World!"; document.write(str.toLowerCase()); </script> |