chunk_split
spatie/fork
Supported Versions: PHP 4, PHP 5, PHP 7, PHP 8
Split a string into smaller chunks
<?php chunk_split
(
string $string
,
int $length
=
76
,
string $separator
=
"\r\n"
):
string