src/ADT/StringBuffer.php
public function deleteCharAt( $position )
	{
		$string	= "";
		for( $i = 0; $i < $this->count(); $i++ )
			if( $position != $i )
				$string .= $this->buffer[$i];
		$this->buffer = $string;
		if( $position == $this->pointer )
			$this->pointer++;
		return $this->toString();
	}
public function deleteCharAt( $position )
	{
		$string	= "";
		for( $i = 0; $i < $this->count(); $i++ )
			if( $position != $i )
				$string .= $this->buffer[$i];
		$this->buffer = $string;
		if( $position == $this->pointer )
			$this->pointer++;
		return $this->toString();
	}
public function deleteCharAt ( $ position ) { $ string = "" ; for ( $ i = 0 ; $ i < $ this -> count ( ) ; $ i ++ ) if ( $ position != $ i ) $ string .= $ this -> buffer [ $ i ] ; $ this -> buffer = $ string ; if ( $ position == $ this -> pointer ) $ this -> pointer ++ ; return $ this -> toString ( ) ; }
Deletes a Character at a given Position.
@access		public
@param		int			$position			Position to delete
@return		string
Deletes a Character at a given Position .