anhvu
8 years agoFrequent Contributor
How to count repeated strings in a line?
Hello,
Could you someone show me how to count repeated string in a line?
string a = "Hello how are you Hello, Hello, Hello. Hello"
I would like to count how many "Hello" in the string.
I tried to use aqString["Find"](a,"Hello");
but it just found the 1st one only.