Hello, everyone!
I need to understand which class and method in
Java I should use to replace every, for example, 3d letter in any sentence.
For example, in this sentence: "This period was good" I want to replace every 3 d letter... with "r" exactly.... so at the end of compilation I should have
"Thrs perior war gord"
And if the letter in this sentense consists from only one letter- there is no changing.