Error getting tags :
error 404Error getting tags :
error 404 in | revDocs | RunRev
Welcome Guest (Log in)
Product Edition
Version
in
Basics
Expander triangle
Type
Keyword
Syntax
See Also
Introduced
1.0
Environment
Desktop, Web and Server
Platform Support
MacOS,Mac OS X,Windows,Linux
Security
None required
Summary
Designates the string that contains a chunk expression.
Examples

repeat with x = 1 to the number of items in the hilitedLines of me

Additional Comments
Expander triangle

Use the in keyword as a synonym for the of keyword in chunk expressions.

Comments:

When designating a part of a string, use the in keyword after the chunk type. For example, to specify the first word of a string, use an expression like this:

word 1 in string

In complex chunk expressions with multiple chunk types, use the in keyword after each chunk type. For example, to specify the last character of the second line of a string, use an expression like this:

last char in line 2 in string

When designating the number of chunks in a string, use the in keyword after the chunk type. For example, to get the number of lines in a string, use an expression like this:

the number of lines in string

User Comments
Expander triangle