Erase part of a line?

How do I erase part of a line without erasing the whole line?
Was this page helpful?