Get part of string
mb_substr( string $string integer $start integer $length null string $encoding null )
string | $string | The string being checked. |
integer | $start | The first position used in $string. |
integer | $length = null | The maximum length of the returned string. |
string | $encoding = null | Character encoding name to use. If it is omitted, internal character encoding is used. |
string
The portion of $string specified by the $string and $length parameters.
© 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.8/function-mb_substr.html