value = preg_replace('%(^[\'"]|["\']$)%', '', $string); } public function getValue(){ return $this->value; } } ?>