How to clear a text before a new text is placed in some spot

Hi like at the top of the following case insted of at the end ???