public function getPositionRepresentation() { $i0 = com_wiris_common_WInteger::min($this->i, $this->n); $s0 = com_wiris_common_WInteger::max(0, $this->i - 20); $e0 = com_wiris_common_WInteger::min($this->n, $this->i + 20); return "..." . _hx_substr($this->str, $s0, $i0 - $s0) . " >>> . <<<" . _hx_substr($this->str, $i0, $e0); }