Remove just the last letter or character from a string?
I made my own keyboard for a player entering choosing their name, and I've made it so they can add letters, but I'm trying to get the "delete" button to work now.
Basically I want to make it so that when a player presses the "delete" button, the Dictionary Value that contains their "name" ,for this example, say the name is "Atticus", changes to have the "s" removed, and becomes "Atticu". If they press "delete" again, I want the Value to then become "Attic."
Please help!