Функция mb_substr
Получить часть строки
Пакет: Cake
Авторские права: Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
Лицензия: MIT License
Расположено в Cake/bootstrap.php
Авторские права: Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
Лицензия: MIT License
Расположено в Cake/bootstrap.php
mb_substr( string $string integer $start integer $length null string $encoding null )
Краткое описание параметров
string | $string | Проверяемая строка. |
integer | $start | Первая позиция в $string. |
integer | $length = null | Максимальная длина возвращаемой строки. |
string | $encoding = null | Имя кодировки символов для использования. Если опущено, используется внутренняя кодировка символов. |
Возвращаемое значение
-
stringЧасть $string, заданная параметрами $string и $length.
© 2005–2016 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.
http://api.cakephp.org/2.7/function-mb_substr.html