Skip to content

How to concatenate strings in AppleScript

New Courses Coming Soon

Join the waiting lists

I’m used to using the + operator to concatenate strings in JavaScript, Swift, Python and other languages.

So I tried that in AppleScript but it didn’t work.

In AppleScript you use the & operator:

set example to "hello"
"testing " & example

☝️ is the macOS built-in Script Editor app, the best way I found to tinker with AppleScript.

Here is how can I help you: