How can i add text inside a string using a button?

I have a textbox saying:
“Hello how are”
And every time i click the button i want to do something like this
First click: Hello how are you
Second click: Hello how are youyou
Third click: How are youyouyou
It will keep adding “you” to the text
Is that possible?

you have to store the first text in a variable. when you click on the button set variable variable+you. then set text as as variable

1 Like

Ok, it works.

1 Like

If you store it in tinydb them next time while screen initialise you can get the last saved value and can continue to add with the existing list

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.