Функция mb_substr_count
Подсчёт вхождений подстроки
Пакет: Cake
Авторские права: Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org)
Лицензия: MIT License
Расположение Cake/bootstrap.php
Авторские права: Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org)
Лицензия: MIT License
Расположение Cake/bootstrap.php
mb_substr_count( string $haystack string $needle string $encoding null )
Краткое описание параметров
string | $haystack | Проверяемая строка. |
string | $needle | Искомая строка. |
string | $encoding = null | Имя кодировки символов для использования. Если опущено, используется внутренняя кодировка символов. |
Возвращаемое значение
-
integerЧисло вхождений подстроки $needle в строке $haystack.
© 2005–2017 The Cake Software Foundation, Inc.
Licensed under the MIT License.
CakePHP is a registered trademark of Cake Software Foundation, Inc.
We are not endorsed by or affiliated with CakePHP.
https://api.cakephp.org/2.10/function-mb_substr_count.html