public function deletePrefix($prefix)
    {
        if ($this->startWith($prefix) === true) {
            return substr($this->str, strlen($prefix));
        }

        return $this->str;
    }
public function deletePrefix($prefix)
    {
        if ($this->startWith($prefix) === true) {
            return substr($this->str, strlen($prefix));
        }

        return $this->str;
    }
public function deletePrefix ( $ prefix ) { if ( $ this -> startWith ( $ prefix ) === true ) { return substr ( $ this -> str , strlen ( $ prefix ) ) ; } return $ this -> str ; }
Deletes a prefix of the string.

@param string $prefix The prefix

@return string The string without prefix
Deletes a prefix of the string .