Answer the question
In order to leave comments, you need to log in
How to check a string for a match of two characters?
Hello.
Probably a banal question, BUT you have to ask it anyway.
There is a line: "windowswindowwindowindwinwiw"
For example, you need to take the first two "wi" elements and go through them to see if there are similar elements and output this element with the number of repetitions "wi - 6".
Then we take "in" and check in the same way.
Answer the question
In order to leave comments, you need to log in
In short, I climbed into the refrigerator, took a tomato, cucumber, greens, I wanted to make a salad. Well, of course, the salad must be made with mayonnaise, otherwise what normal person would eat it. I cut everything and suddenly realized that I forgot the mayonnaise, damn slowpoke. I open the refrigerator, take mayonnaise and suddenly I realize that there is lard in front of me. I had never eaten bacon before, but suddenly I wanted to, well, I think, since I wanted to, why not eat it. While I dressed the salad, cut the bacon, everything was as it should be, I ate, and then suddenly everything was overfarmed with a yellowish color, a rumble and a rock, їbati in the ass, what a hymno, didn’t understand anything, Taras Shevchenko came out of the earth and seemed like bullshit about Muscovites and morality , an old pedal, damn you, the earth didn’t lie bl? *:!? When I look around the Ukrainian language, I don’t fucking understand. Here comes the fat Bulo cursed.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question