public function getAndClearBuffer($trim = "", $tolower = false)
		{
		$r = $this->getBuffer($trim, $tolower);
		$this->buffer = "";
		return $r;
		}
public function getAndClearBuffer($trim = "", $tolower = false)
		{
		$r = $this->getBuffer($trim, $tolower);
		$this->buffer = "";
		return $r;
		}
public function getAndClearBuffer ( $ trim = "" , $ tolower = false ) { $ r = $ this -> getBuffer ( $ trim , $ tolower ) ; $ this -> buffer = "" ; return $ r ; }
Returns and clear the current buffer.

@param string $trim Chars to use to trim the returned buffer
@param boolean $tolower if TRUE the returned buffer will get converted to lower case
@return string
Returns and clear the current buffer .