|
substr_countCount the number of substring occurrences Description
int substr_count(
string $haystack,string $needle,int $offset = 0,intnull $length = null)
substr_count returns the number of times the
Parameters
Return ValuesThis function returns an int. Changelog
Examples
Example #1 A substr_count example See Also
|