Str::substr()
A UTF-8 safe version of substr()
Parameters
Name | Type | Default |
---|---|---|
$string | string |
null |
$start | int |
0 |
$length | int |
null |
Return type
string