Either the way mentioned (using the mouse button to highlight the text)
OR
get the cursor at the start of what you want to delete, hold the shift key and then the right arrow key (if you're starting at the left of what you want to delete) or left arrow key (starting at the right of what you...