protected function currentWindow($window = 20) { return '=>' . substr($this->str, $this->p, $window) . "....\n"; }