protected function string_at($pos) { $end = strpos($this->cache, "", $pos); return $this->substr($pos, $end - $pos); }