Back

Explore Courses Blog Tutorials Interview Questions
0 votes
2 views
in Java by (9.5k points)

Can anyone tell me how to convert the JavaScript string “Your Name" to "your name"?

1 Answer

0 votes
by (19.7k points)

You can easily do it like below:

var lowerCaseName = "Your Name".toLowerCase();

Interested in Java? Check out this Java Certification by Intellipaat.    

Related questions

0 votes
2 answers
0 votes
1 answer
0 votes
0 answers
0 votes
1 answer
asked Feb 17, 2021 in Java by Jake (7k points)

Browse Categories

...