str_starts_with
PHP 8
str_starts_with - Checks if a string starts with a given substring
Example #1 Using the empty string ''
Result: All strings start with the empty string
Example #2 Showing case-sensitivity
Result: The string starts with 'The'
"the" was not found because the case does not match
Example #3 of str_starts_with