问题
I need to delete last character in a string Livecode.
I have wrote this below in English.
on mouseUp
replace last character with Backspace in field"dialed"
end mouseUp
I am a newbie, so please use simple answers :) Thank you.
回答1:
Deleting the last character of a field is very simple:
on mouseUp
delete the last char of fld "Dialed"
end mouseUp
回答2:
If you think that is nice, what about:
delete character 2 of word 3 of line 4 of fld "dialed"
来源:https://stackoverflow.com/questions/33816040/deleting-the-last-character-in-a-string-livecode-language