public function StrReplace($search = ' ', $replace = '')
    {
        $owner = $this->owner;
        $owner->value = str_replace(
            $search,
            $replace,
            $owner->value
        );
        return $owner;
    }
public function StrReplace($search = ' ', $replace = '')
    {
        $owner = $this->owner;
        $owner->value = str_replace(
            $search,
            $replace,
            $owner->value
        );
        return $owner;
    }
public function StrReplace ( $ search = ' ' , $ replace = '' ) { $ owner = $ this -> owner ; $ owner -> value = str_replace ( $ search , $ replace , $ owner -> value ) ; return $ owner ; }
Replace all occurrences of the search string with the replacement string.
@return string
Replace all occurrences of the search string with the replacement string .