Computer Science, asked by soujitha6484, 6 months ago

_________ convert the first character in all the words of separated sentence to capital letter

Answers

Answered by Anonymous
18

Answer:

The ucwords() function converts the first character of each word in a string to uppercase.

Answered by arslaanshameem
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