In fact the DELETE button is also crap as it always deletes the last char of the string.On a related note, the 'forward delete' button does not work as one would imagine - it just goes to the end of line.
Looking now, at that stack: almost everything is crap . . .
Anyway: here's a rehash, that I hope will cover my embarrassment:
- -
Totally, 100% recoded as previous code was a serious 'diversion' not even worth tweaking.