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 223
Expand file tree
/
Copy pathcodepointOffset.xml
More file actions
executable file
·103 lines (87 loc) · 3.53 KB
/
Copy pathcodepointOffset.xml
File metadata and controls
executable file
·103 lines (87 loc) · 3.53 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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
<doc>
<legacy_id></legacy_id>
<name>codepointOffset</name>
<type>function</type>
<syntax>
<example>codepointOffset(stringToFind,stringToSearch[,codepointsToSkip])</example>
<example></example>
<example></example>
<example></example>
<example></example>
<example></example>
<example></example>
</syntax>
<synonyms>
</synonyms>
<summary>Returns the number of codepoints between the beginning of a value and an occurrence of a specified string.</summary>
<examples>
<example><p>codepointOffset(tCodePoint,"This is the string to search")</p></example>
<example><p></p></example>
<example><p></p></example>
<example><p></p></example>
<example><p></p></example>
</examples>
<history>
<introduced version="7.0">Added.</introduced>
<deprecated version=""></deprecated>
<removed version=""></removed>
<experimental version=""></experimental>
<nonexperimental version=""></nonexperimental>
</history>
<objects>
</objects>
<platforms>
<mac/>
<windows/>
<linux/>
<ios/>
<android/>
</platforms>
<classes>
<desktop/>
<server/>
<web/>
<mobile/>
</classes>
<security>
</security>
<classification>
<category>Text and Data Processing</category>
<category></category>
<category></category>
<category></category>
<category></category>
<category></category>
<category></category>
</classification>
<references>
<function tag="wordOffset">wordOffset function</function>
<function tag="offset">offset function</function>
<function tag="paragraphOffset">paragraphOffset function</function>
<function tag="truewordOffset">truewordOffset function</function>
<function tag="tokenOffset">tokenOffset function</function>
<function tag="sentenceOffset">sentenceOffset function</function>
<function tag="codeunitOffset">codeunitOffset function</function>
<function tag="byteOffset">byteOffset function</function>
<property tag="wholeMatches">wholeMatches property</property>
<keyword tag="codepoint">codepoint keyword</keyword>
</references>
<description>
<overview>Use the <b>codepointOffset</b> function to find which codepoint a string occurs in.</overview>
<parameters>
<parameter>
<name>stringToFind</name>
<description>The stringToFind is a string or an expression that evaluates to a string.</description>
</parameter>
<parameter>
<name>stringToSearch</name>
<description>The stringToSearch is a string or an expression that evaluates to a string.</description>
</parameter>
<parameter>
<name>codepointsToSkip</name>
<description>The codepointsToSkip is a non-negative integer. If you don't specify how many codepointsToSkip, the codepointOffset function does not skip any codepoints.</description>
</parameter> </parameters>
<value>The <b>codepointOffset</b> function returns a non-negative integer.</value>
<comments><p>The value returned by the <b>codepointOffset</b> function is the number of the codepoint where the <i>stringToFind</i> appears in <i>stringToSearch</i>. If the <i>stringToFind</i> is not in <i>stringToSearch</i>, the <b>codepointOffset</b> function returns zero. If the <i>stringToFind</i> is more than one codepoint, the <b>codepointOffset</b> function always returns zero, even if the <i>stringToFind</i> appears in the <i>stringToSearch</i>.</p><p></p><p>If you specify how many <i>codepointsToSkip</i>, the <b>codepointOffset</b> function skips the specified number of sentences in the <i>stringToSearch</i>. The value returned is relative to this starting point instead of the beginning of the <i>stringToSearch</i>.</p></comments>
</description>
</doc>