The ability to work with and manipulate strings is a critical skill for any AppleScript programmer. Many scriptable applications accept string arguments and return data in the form of strings. However, the strings you need to work with may not always be in the format you need them to be. For example, an application or command may return a result as a string. However, you may only need a portion of the string. AppleScript provides you with many ways of viewing and manipulating strings and their contents.
In AppleScript a string is a series of characters enclosed within matching double quotation marks, as shown here:
"Sam" "freedom" "Once upon a time there was a big bad wolf."
Strings can be used ...