JavaScript

How to covert a string to lowercase using JavaScript

Written by Ian Carnaghan · 7 sec read >

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>

Last Updated On March 20, 2018
Written by Ian Carnaghan
I am a software developer and online educator who likes to keep up with all the latest in technology. I also manage cloud infrastructure, continuous monitoring, DevOps processes, security, and continuous integration and deployment. Profile

Leave a Reply

avatar
  Subscribe  
Notify of