0

我怎么能把一个单词的字母洒出来。例如。{"e","x","a","m","p","l","e"} 使用 AppleScript 的示例。我无法添加我尝试过的内容,因为我不知道从哪里开始。

4

1 回答 1

3
items of "example" -- {"e", "x", "a", "m", "p", "l", "e"}
characters of "example" -- {"e", "x", "a", "m", "p", "l", "e"}
text 4 thru -1 of "example" -- "mple"

reverse of items of "example" as text -- "elpmaxe"

set text item delimiters to "e"
set ti to text items of "example" -- {"", "xampl", ""}
set text item delimiters to "f"
ti as text -- "fxamplf"
于 2013-08-12T12:07:32.823 回答