Skip to main content
Question

Deleting element from the end of a string


hey folks, I was creating a fully functional numpad using variables while I was able to append any element at the end of the string using “+” operator, I cannot delete any element from that string is there any way I can do that( I don’t want to do empty the whole string by assigning its value to “”, I just want to delete a single element on each click.) thanks.

This topic has been closed for comments

Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings