I have been learning java for 2 months ... The problem is that the theory goes by a few, but I can’t write anything myself. This is the task of parsing:
In the text of the word of a given length to replace the specified substring, the length of which may not coincide with the length of the word.
Question: What exactly is the way to write it? (either on the thong, or on the patterns or on the sner). And is there any practice? A book or video, wherever it was all on the types as in mathematics (the teacher of mathematics).