How to convert string to title case with javascript

Posted by Andre Scott | Updated on

Title case means that the first letter of each word is capitalized. You can convert a string to title case using the below function:


If you like this question & answer and want to contribute, then write your question & answer and email to freewebmentor[@]gmail.com. Your question and answer will appear on FreeWebMentor.com and help other developers.

Related Questions & Answers