src/Primitive/String/String.php
public function prepend($string, $delimiter = '')
    {
        if ($this->isValidStringAndDelimiter($string, $delimiter))
        {
            return new static($this->retrieveValue($string).$this->retrieveValue($delimiter).$this->string);
        }

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

        return $this;
    }
Return String with prepended content and delimiter.

@param mixed $string
@param mixed $delimiter
@return $this|static