str_starts_with
Astrotomic/php-twemoji
Supported Versions: PHP 8
Checks if a string starts with a given substring
<?php str_starts_with
(
string $haystack
,
string $needle
):
bool