mb_substr_count

Example

 int mb_substr_count ( string $haystack , string $needle [, string $encoding ] ) 

Description

Count the number of substring occurrences

Return Values

The number of times the needle substring occurs in the haystack string.