javascript
Convert all characters to lowercase using toLowerCase() method in javascript
The toLowerCase() function of Javascript string used to convert all the characters of a string to lowercase format.
var str = "World Is Beautiful";
console.log(str.toLowerCase());
Output
world is beautiful
In javascript to convert all characters of a string to its lowercase form, toLowercase() method can be used.
Was this helpful?
Similar Posts
- Javascript to convert all object keys to lowercase
- Add new item at first position of array using unshift() method Javascript
- Get current year using Javascript Date getFullYear() method
- Calculate the frequency of characters in a string using Javascript
- Replace characters globally Javascript
- Count the total number of characters in a textarea while typing in javascript
- Javascript to split string into array of characters