How to covert a string to lowercase using JavaScript

No Comments

Use the string.toLowerCase() function as the example below

 
	<script type="text/javascript">
 
	var str="I NEED THIS STRING TO BE CONVERTED TO LOWER CASE";
 
	document.write(str.toLowerCase());
 
	</script>

Image Credits: Photo by Isis França on Unsplash.

Last Updated On March 20, 2018

Related Articles

No results found

Leave a Reply

avatar
  Subscribe  
Notify of
Menu
Copy link