AppleScript: remove last character in text string -


i need remove last character in text string applescript. it's proving more difficult problem thought. can explain how done?

try this

set t "this string" text 1 thru -2 of t 

output:

"this strin"


Comments

Popular posts from this blog

c# - Binding a comma separated list to a List<int> in asp.net web api -

dns - Dokku server hosts two sites with TLD's, both domains are landing on only one app -

Delphi 7 and decode UTF-8 base64 -