public function nthWord(int $nth, \Closure $closure, bool $preserveSpaces = true) : Manipulator
    {
        $count = 1;
        $modifiedString = '';

        foreach (explode(' ', $this->string) as $word) {
            $modifiedString .= $count === $nth ? $closure($word) : $word;
            $modifiedString .= $preserveSpaces ? ' ' : '';
            $count++;
        }

        return new static(trim($modifiedString));
    }