forked from livecode/livecode
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcodeunits.lcdoc
More file actions
38 lines (23 loc) · 847 Bytes
/
Copy pathcodeunits.lcdoc
File metadata and controls
38 lines (23 loc) · 847 Bytes
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
Name: codeunits
Synonyms: codeunits
Type: keyword
Syntax: codeunits
Summary:
Used with the <number> <function(glossary)> to designate codeunits as part of a
Unicode string.
Introduced: 7.0
OS: mac, windows, linux, ios, android
Platforms: desktop, server, mobile
Example:
get the number of codeunits of tString
Description:
Use the codeunits keyword to count the number of codeunits making up a
string.
A codeunit refers to the encoded units in which codepoints are stored
(e.g. 16 bit words in UTF-16 or 8-bit bytes in UTF-8)
Use the expression
the number of codeunits of tString
to find out how many codeunits make up a Unicode string.
References: function (glossary), number (function),
characters (keyword), codepoint (keyword), codeunits (keyword),
character (keyword), codeunit (keyword), bytes (keyword), byte (keyword)