+ 1

A program that finds the number of times a word repeats in a text

I need help with a c# exercise: in which you create a method that helps you find the number of times a word of your choosing appears in a text of your choosing.

20th Jan 2019, 3:44 PM
Susana Romero
Susana Romero - avatar
2 odpowiedzi
+ 3
Can you share your attempt first? Because exercises are for you and if we did it your opportunity to practice will be losed
20th Jan 2019, 4:19 PM
Seniru
Seniru - avatar
0
The thing is I know exactly what to do if it were a character, what I've mainly tried is an if inside of a loop for but. But I'm not fully understanding the concept of a string inside of another string.
20th Jan 2019, 5:36 PM
Susana Romero
Susana Romero - avatar