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