private function ProcessEqualOperation($operation) { $result = array(); foreach ($this->newWords as $pos => $s) { if ($pos >= $operation->StartInNew && $pos < $operation->EndInNew) { $result[] = $s; } } $this->content .= implode("", $result); }