substr
strpos
str_contains
Find the position of the first occurrence of a substring in a string.
strpos(string $haystack, string $needle, int $offset = 0): int|false