So that typing will then overwrite whatever was there previously, or the user chan choose to keep it.
To overwrite something inside the TEXT, you first will have to get the whole text out of the TEXT-BOX, then replace some parts of the text and put it back into the TEXT-BOX.
Thanks for this. I think it’s a slightly different problem though. I want the text inside a text input to be highlighted/selected on focus. Is that possible.