in | |
Type | keyword |
Dictionary | LCS |
Library | LiveCode Script |
Syntax |
|
Summary | Designates the string that contains a chunk expression. |
Introduced | 1.0 |
OS | mac, windows, linux, ios, android |
Platforms | desktop, server, mobile |
Example |
|
Related | Keyword: character, of, word, line, string, lines Glossary: keyword, chunk, chunk expression, expression |
Description | Use the in keyword as a synonym for the of keyword in chunk expressions. 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:
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:
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:
|
Tags | text processing |