This problem has been stuck in my head for awhile. Its an on screen keyboard for a touch screen kiosk.
The text is easy enough.
I have a dynamic text box.
The on screen keys are scripted like this
[COLOR=DarkSlateBlue]a_btn.onPress = function(){
my_txt.text = my_txt.text + “a”;
}[/COLOR]
okay that’s fine but how am I going to do a delete key? Strings? Never worked with strings. I’ve been playing with the [COLOR=DarkSlateBlue]String.slice()[/COLOR] method but no luck.