I am working on creating my own On-Screen Keyboard and I have all of the buttons figured out aside from the backspace button. Does anyone know how I could make this button delete the very last character of my text field on action performed? I tried using len() and cutting it that way but that didn't seem to work as it cannot include both unicode and int.