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

swift - Button on Table View Cell connected to local function -

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

c# - ajax - How to receive data both html and json from server? -