Ok in a simplex txt file i have some text written in all capital letters. Now i need to take that text convert it to lowercase and then ucfirst in this way.
Ex: MY NAME IS MIKE AND I GO TO LIBRARY EVERY DAY. I ALSO LIKE PIE.
Now i read files by lines so i first turn all those lowercase and then uppercase all first characters of each word.
Now here i my problem i only need to uppercase the first character if it is a start of the new line like at the beginning of the text or if its after ( . )
Also names need to start with a capital letter like Mike, but i can have all the names that are in the text preset in an array or a list.
So the Ex. above after editing should look like:
My name is Mike and i go to library every day. I also like pie.