lithium\g11n\multibyte\adapter\Iconv::substr()
Here used as a multibyte enabled equivalent of substr()
.
Parameters
-
string
$string
-
integer
$start
-
integer
$length
Returns
string|booleanLinks
Source
public function substr($string, $start, $length) {
return iconv_substr($string, $start, $length, 'UTF-8');
}