Hi everyone
I have a little task and my brain today has stop. (Summer is crazy
)
How will I count how many cat and apple is in sentence. (not cats or apples)
I have string:
"This cat is nice and she love apple but other cats don't. Maybe this cat will love more apples and she will be happy cat."
So here we have 3 "cat" and 1 apple
Anyone help with this string count. How to? The best way?
I have a little task and my brain today has stop. (Summer is crazy
How will I count how many cat and apple is in sentence. (not cats or apples)
I have string:
"This cat is nice and she love apple but other cats don't. Maybe this cat will love more apples and she will be happy cat."
So here we have 3 "cat" and 1 apple
Anyone help with this string count. How to? The best way?