Chapter 7. Working with Text
One of the tasks you will find yourself doing a lot in AppleScript is working with text in one way or another. This chapter covers the many aspects of text manipulation in AppleScript.
We will begin with a bit of background on how computers make sense of human-readable text. Next, we will study the various properties and elements of AppleScript's text objects, along with the standard operators and commands you can use to manipulate those objects. We will also spend some time exploring AppleScript's text item delimiters—a key feature when breaking text apart or joining it together.
Once you understand the principles behind working with text in AppleScript, we will round off the chapter with a couple of projects that put ...
Get Learn AppleScript: The Comprehensive Guide to Scripting and Automation on Mac OS X, Third Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.