_________ convert the first character in all the words of separated sentence to capital letter
Answers
Answered by
18
Answer:
The ucwords() function converts the first character of each word in a string to uppercase.
Answered by
0
Answer:
To capitalize each word, call the toLowerCase() method to put the string in lowercase format. Iterate the string, if any space if found in previous iteration and current element is not space then call the toUpperCase() method to put the first letter of word in uppercase format and append the string in buffer.
Similar questions