public function append($string, $delimiter = '')
    {
        if ($this->isValidStringAndDelimiter($string, $delimiter))
        {
            return new static($this->string.$this->retrieveValue($delimiter).$this->retrieveValue($string));
        }

        return $this;
    }
public function append($string, $delimiter = '')
    {
        if ($this->isValidStringAndDelimiter($string, $delimiter))
        {
            return new static($this->string.$this->retrieveValue($delimiter).$this->retrieveValue($string));
        }

        return $this;
    }
public function append ( $ string , $ delimiter = '' ) { if ( $ this -> isValidStringAndDelimiter ( $ string , $ delimiter ) ) { return new static ( $ this -> string . $ this -> retrieveValue ( $ delimiter ) . $ this -> retrieveValue ( $ string ) ) ; } return $ this ; }
Return String with appended delimiter and content.

@param mixed $string
@param mixed $delimiter
@return $this|static
Return String with appended delimiter and content .