public static function start($value, $prefix)
    {
        $quoted = preg_quote($prefix, '/');

        return $prefix.preg_replace('/^(?:'.$quoted.')+/u', '', $value);
    }
public static function start($value, $prefix)
    {
        $quoted = preg_quote($prefix, '/');

        return $prefix.preg_replace('/^(?:'.$quoted.')+/u', '', $value);
    }
public static function start ( $ value , $ prefix ) { $ quoted = preg_quote ( $ prefix , '/' ) ; return $ prefix . preg_replace ( '/^(?:' . $ quoted . ')+/u' , '' , $ value ) ; }
Begin a string with a single instance of a given value.

@param  string  $value
@param  string  $prefix
@return string
Begin a string with a single instance of a given value .