public static function after(
        string $haystack,
        string $needle,
        bool $useLastNeedle = false
    ): string
    {
        $pos = static::getNeedlePosition($haystack, $needle, $useLastNeedle);
        if ($pos === false) {
            return $haystack;
        }
        return substr($haystack, $pos + strlen($needle));
    }