src/Support/Str.php
public static function startsWith($haystack, $needle)
    {
        return $needle === '' or mb_strrpos($haystack, $needle, -mb_strlen($haystack)) !== false;
    }
public static function startsWith($haystack, $needle)
    {
        return $needle === '' or mb_strrpos($haystack, $needle, -mb_strlen($haystack)) !== false;
    }
public static function startsWith ( $ haystack , $ needle ) { return $ needle === '' or mb_strrpos ( $ haystack , $ needle , - mb_strlen ( $ haystack ) ) !== false ; }
Determine if string starts with the supplied needle.

@param string $haystack
@param string $needle

@return bool
Determine if string starts with the supplied needle .