Clear text box characters

hello
I want to delete only the last character entered in the text box when I press the delete button in the program? What code can I use to do this?
I couldn't find the substring method...

Welcome!

:pray:

Lito

@>-->---

2 Likes

Beware of empty text

2 Likes

4 Likes

Test it...

@>-->---

1 Like

thank you :pray:t2: