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:
- COURSES where I teach everything I know
- CODING BOOTCAMP cohort course - next edition in 2025
- BOOKS 16 coding ebooks you can download for free on JS Python C PHP and lots more
- Follow me on X