str::substr
An UTF-8 safe version of substr()
str::substr($str, $start, $length = null)
Parameters
$str (string)
$start (int)
$length (int)
Return values
string