substr function for utf8 string
static public substr ( $str, $start, $length ) : substring | ||
$str | string | |
$start | integer start of the result substring | |
$length | integer The maximum length of the returned string if > 0 (default -1) | |
return | substring |