I am new in programming and i need your help.
I have a txt file and i want to change the first character from each word in upper case and the rest of characters in lower case.
INPUT: thIs is thE FIrsT lIne
OUTPUT: This Is The First Line
I find out how to convert all character from low to upper and upper to low. I know that i should check if my previous character is a "white" character but i don't know how ...
Thanks in advance!!!