code: protected function indexAfter($string, $offset = null)
      {
          if ($offset === null) {
              $offset = $this->offset;
          }
          if ($offset + mb_strlen($string, 'UTF-8') > $this->length) {
              return $this->length;
          }
  
          $afterIndexOf = mb_strpos($this->sql, $string, $offset, 'UTF-8');
          if ($afterIndexOf === false) {
              $afterIndexOf = $this->length;
          } else {
              $afterIndexOf += mb_strlen($string, 'UTF-8');
          }
  
          return $afterIndexOf;
      }
docs: Returns an index after the given string in the SQL code starting with the specified offset.
  @param string $string string to be found.
  @param int|null $offset SQL code offset, defaults to current if `null` is passed.
  @return int index after the given string or end of string index.