src/Datatype/StringClass.php
public function replace($search, $value) {
        $this->value = str_replace($search, $value, $this->value);
    }
public function replace($search, $value) {
        $this->value = str_replace($search, $value, $this->value);
    }
public function replace ( $ search , $ value ) { $ this -> value = str_replace ( $ search , $ value , $ this -> value ) ; }
replaces search by value

@param $search
@param $value
replaces search by value