How To Capitalize the First Letter of Each Word of a (Unicode) String in JavaScript
The result string is in title case format, such as “Vuong Tru Blog”, where the first letter of each word of a string is uppercase and other letters should be lowercase. I am going to give you some solutions right now and these work for Unicode as well.