public function substring(int $start, ?int $length = null): Text {
    if($length === null) {
      return new static(substr($this->raw, $start));
    }

    return new static(substr($this->raw, $start, $length));
  }