删除字符串 Livecode 语言中的最后一个字符
Deleting The Last Character in A String Livecode Language
我需要删除字符串 Livecode 中的最后一个字符。
下面是我用英文写的
on mouseUp
replace last character with Backspace in field"dialed"
end mouseUp
我是新手,所以请用简单的答案:) 谢谢。
删除字段的最后一个字符非常简单:
on mouseUp
delete the last char of fld "Dialed"
end mouseUp
如果你觉得不错,那么:
delete character 2 of word 3 of line 4 of fld "dialed"
我需要删除字符串 Livecode 中的最后一个字符。
下面是我用英文写的
on mouseUp
replace last character with Backspace in field"dialed"
end mouseUp
我是新手,所以请用简单的答案:) 谢谢。
删除字段的最后一个字符非常简单:
on mouseUp
delete the last char of fld "Dialed"
end mouseUp
如果你觉得不错,那么:
delete character 2 of word 3 of line 4 of fld "dialed"