public function surround($substring) { $str = implode('', array($substring, $this->str, $substring)); return static::create($str, $this->encoding); }