This repository was archived by the owner on Aug 31, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 225
Expand file tree
/
Copy pathin.lcdoc
More file actions
51 lines (31 loc) · 1.26 KB
/
in.lcdoc
File metadata and controls
51 lines (31 loc) · 1.26 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
Name: in
Type: keyword
Syntax: in
Summary:
Designates the <string> that contains a <chunk expression>.
Introduced: 1.0
OS: mac, windows, linux, ios, android
Platforms: desktop, server, mobile
Example:
repeat with x = 1 to the number of items in the hilitedLines of me
Description:
Use the <in> <keyword> as a synonym for the <of> <keyword> in
<chunk expression|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:
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
References: keyword (glossary), chunk (glossary),
chunk expression (glossary), expression (glossary), character (keyword),
of (keyword), word (keyword), line (keyword), string (keyword),
lines (keyword)
Tags: text processing