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