October 17, 2022 at 8:52 am #28792
Participant
Often, words starting with a capital are proper nouns and may mean a different thing than lowercase counterparts. Also, in a big file one may want to easily spot words starting with a capital, in order to fix them if they need to be fixed.
Example input:
Text
text
god
God
file
File
Example output:
File
God
Text
file
god
text