public function offsetUnset($index)
    {
        if (isset($this->data[$index])) {
            $this->data = substr_replace($this->data, null, $index, 1);
        }
    }
public function offsetUnset($index)
    {
        if (isset($this->data[$index])) {
            $this->data = substr_replace($this->data, null, $index, 1);
        }
    }
public function offsetUnset ( $ index ) { if ( isset ( $ this -> data [ $ index ] ) ) { $ this -> data = substr_replace ( $ this -> data , null , $ index , 1 ) ; } }
Removes the character at the given index from the buffer.

@param int $index
Removes the character at the given index from the buffer .