To delete a message, tap the button next to the message which looks like a trash can.
You will then see a new screen which asks you whether you want to delete the message displayed on the screen.
You can choose to delete that one message or all texts, using the “Delete all texts from —“ button.