public function limit(int $length)
    {
        $string = $this->string;

        if ($this->length() > $length) {
            $string = substr($string, 0, $length);
        }

        return new static($string, $this->encoding);
    }