(PHP 4 >= 4.0.6, PHP 5, PHP 7)
Get part of string
string mb_substr ( string $str, int $start [, int $length = NULL [, string $encoding = mb_internal_encoding() ]] )
Performs a multi-byte safe substr() operation based on number of characters. Position is counted from the beginning of str. First character's position is 0. Second character position is 1, and so on.
Parameters:
str