public static function replaceLast(string $search, string $replace, string $subject): string
    {
        $position = \mb_strrpos($subject, $search);

        return self::replaceByPosition($subject, $replace, $position, $search);
    }