Javascript

In javascript to uppercase text to uppercase letters there is a simple function

var string = "My special string!";
var uppercaseString = string.toUpperCase();
alert(uppercaseString);
// it will return "MY SPECIAL STRING!"