Adafruit SSD1306 clear line

I am simply trying to clear a line of text while leaving the rest of the display undisturbed. I have tried to display.print " " but that does not work any ideas? When I put text on the line it writes on top of the existing characters.

Shouldn't you be reading the documentation for the library you are using?
And if you are, how do you know the library works for the display you have?

rrfisher:
I am simply trying to clear a line of text while leaving the rest of the display undisturbed. I have tried to display.print " " but that does not work any ideas? When I put text on the line it writes on top of the existing characters.

Again?

http://forum.arduino.cc/index.php?topic=383909

jboyton had the correct answer. Spot on, thanks.

"That library defaults to transparent writing, which is generally what you want with graphics. To do what you want you should set the background color to something different than the foreground color. By default, they are both set to the same color (black) which the library uses as a flag to mean no background, i.e. transparent. To have black text and a white background just call setTextColor(0xFFFF, 0). At least I think that's what would work."