SQL PHP HTML ASP JavaScript articles and free scripts to download If you are facing any problem in viewing this page, please tell us
 

Converting Uppercase letters to Lower case in JavaScript


We have seen how to convert lower case letter to uppercase letter. Now we will learn how to convert upper case letters to lower case letters by using toLowerCase() functions in JavaScript. Here is the basic syntax for toLowerCase method.

var a2 = str.toLowerCase();

Here str is our string variable. The new string ( with lower case letters ) is stored in new variable a2.

Here is the sample code


var str="This is my 1st new Tuorial 123";
var a2 = str.toLowerCase();
document.write(a2);



Converting Lower case letter to uppercase using toUpperCase() method


Post Comment This is for short comments only. Use the forum for more discussions.
Name
Email( not to be displayed)Privacy Policy
1+2=This is to prevent automatic submission by spammers. Please enter the result of the sum as asked
Sections
PHP
JavaScript
ASP
HTML
SQL
Photoshop
Articles SEO
String Functions
Subscribe
Submit your email address and receive article and product notifications. Your email is safe with us.