Write a program to convert a string into another format in which each word starts with a character in upper case.
For example:
Input:
Hello, lets learn the string concepts.
Output:
Hello, Lets Learn String Concepts.
Note: Extract the first character of each word and replace it with its upper case character.