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 -

Delphi 7 and decode UTF-8 base64 -

html - Is there any way to exclude a single element from the style? (Bootstrap) -