Jump to content

Function to count number of times a word is repeated in a string?


Scip

Recommended Posts

I tried looking for something similar through google but i got a bit confused with the results.

 

What i want to know is that is there a in built function in php which takes a keyword and string as arguments and then returns the number of times the keyword if found in the string?

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.