substr
spatie/ignition
Supported Versions: PHP 4, PHP 5, PHP 7, PHP 8
Return part of a string
<?php substr
(
string $string
,
int $offset
, ?
int $length
=
null
):
string