src/SellerLabs/Nucleus/Support/Str.php
public static function beginsWith($subject, $prefix, $encoding = null)
    {
        return Rope::of($subject, $encoding)->beginsWith($prefix);
    }
public static function beginsWith($subject, $prefix, $encoding = null)
    {
        return Rope::of($subject, $encoding)->beginsWith($prefix);
    }
public static function beginsWith ( $ subject , $ prefix , $ encoding = null ) { return Rope :: of ( $ subject , $ encoding ) -> beginsWith ( $ prefix ) ; }
Return whether or not the provided subject beings with the prefix.

@param string $subject
@param string $prefix
@param null|string $encoding

@return bool
Return whether or not the provided subject beings with the prefix .