word_titlecase.js
this function assumes that the input string consists of words separated by spaces. If your input string has a different format, you may need to modify the function accordingly.
this function assumes that the input string consists of words separated by spaces. If your input string has a different format, you may need to modify the function accordingly.