str::startsWith
Checks if a string starts with the passed needle
str::startsWith($string, $needle)
Parameters
$string (string)
$needle (string)
Return values
boolean