startsWith() startsWith(string $haystack, string $needle) : bool Return true, if needle is at the beginning of haystack Parameters string $haystack string $needle Returns bool —
endsWith() endsWith(string $haystack, string $needle) : bool Return true, if needle is at the end of haystack Parameters string $haystack string $needle Returns bool —