Language Guide

CHAPTER 3
Values
Value Class Denitions 63
REFERENCE FORMS
You can use the following reference forms to refer to elements of strings:
Property. For example, class of "This is a string" specifies string.
Index. For example, word 3 of "This is a string" specifies "a".
Middle. For example, middle word of "This is a string"
specifies "is".
Arbitrary. For example, some word of "This is a string" might
specify any of the words in the string.
Every Element. For example, every word of "This is a string"
specifies {"This", "is", "a", "string"}.
Range. For example, words 2 thru 3 of "This is a string"
specifies {"is", "a"}.
You cannot use the Relative, Name, ID, or Filter reference forms.
SPECIAL CHARACTERS IN STRINGS
The backslash (\) and double-quote (") characters have special meaning in
strings. If you want to include either of these characters in a string, you must
use the equivalent two-character sequence:
The tab and return characters can be included in strings, or they can be
represented by equivalent two-character sequences:
When a string containing any of the two-character sequences is displayed to
the user (as, for example, in a dialog box), the sequences are converted. For
example, the string
"item 1\t1\ritem 2\t2"
Backslash character \\
Double-quote character \"
Tab character \t
Return character \r