public function startsWith($string)
    {
        $string = static::convertString($string, $this->encoding);

        return $string === $this->substring(0, (mb_strlen($string, $this->encoding) - 1))->__toString();
    }