Answer the question
In order to leave comments, you need to log in
How to count the number of occurrences in a string (C#)?
Hello. There is text in string.
How to count the number of text values (repetitions) in it?
Number of words
hi = 2;
Thank you!
string value = "привет привет hi привет hi";
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question