strpos
substr
str_*
有关详细信息,请参阅 str_contains (php.net) 和 str_starts_with and str_ends_with functions (php.net)。