Is there an efficient line of code to count the number of instances of one
string within another.
If I have the sentence:
"I want to go to the park, and then go home."
It would give me a count of 2 for the word "go"
Derek
string within another.
If I have the sentence:
"I want to go to the park, and then go home."
It would give me a count of 2 for the word "go"
Derek
Comment