Thursday, 22 October 2015

How to convert the whole string to capital letter in Javascript


How to convert the whole string to capital letter in Javascript ?
toUpperCase--is use for making a string to capital letter
var str="This is a technical blog"
str=str.toUpperCase()
alert(str)
will show "THIS IS A TECHNICAL BLOG"

No comments:

Post a Comment

Entrepreneur & Intrapreneur & Entrepreneurship

Entrepreneur & Intrapreneur & Entrepreneurship                   An Entrepreneur  is a person who start a new organisation in terms ...