Convert A String To Uppercase In Javascript Code Example


Example 1: uppercase javascript


var str = "Hello World!";
var res = str.toUpperCase(); //HELLO WORLD!

Example 2: javascript uppercase string


var str = "Hello World!";
var res = str.toUpperCase();

Comments

Popular posts from this blog

Converting A String To Int In Groovy

"Cannot Create Cache Directory /home//.composer/cache/repo/https---packagist.org/, Or Directory Is Not Writable. Proceeding Without Cache"

Android How Can I Convert A String To A Editable