mb_substr_count

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

説明

Count the number of substring occurrences

戻り値

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