strpos
substr
str_*
詳しくは、str_contains (php.net) および str_starts_with and str_ends_with functions (php.net) を参照してください。