How can you detect variable string in a massive string?

Posted on 16th Feb 2014 by admin

Ok guys, i need some help with this one.

I am going to be getting a large string, like 10-20 paragraphs. I will also have an array or words that i would like to search it for. Ex
SearchString[1]="cows", ...

How could i implement this with php? I would basically want to do a word count, but i want to make the code myself.

Can anyone help me? ty!

Other forums