Function mb_substr
Get part of string
Package: Cake\I18n
Copyright: Copyright 2005-2012, Cake Software Foundation, Inc. (http://cakefoundation.org)
License: License (http://www.opensource.org/licenses/mit-license.php)
Located at Cake/I18n/Multibyte.php
Copyright: Copyright 2005-2012, Cake Software Foundation, Inc. (http://cakefoundation.org)
License: License (http://www.opensource.org/licenses/mit-license.php)
Located at Cake/I18n/Multibyte.php
mb_substr( string $string , integer $start , integer $length = null , string $encoding = null )
Parameters summary
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. |
Returns
-
string
The portion of $string specified by the $string and $length parameters.