codeunits | |
Type | keyword |
Dictionary | LCS |
Library | LiveCode Script |
Syntax |
|
Synonyms | 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 |
|
Related | Keyword: characters, codepoint, codeunits, character, codeunit, bytes, byte Glossary: function Function: number |
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
to find out how many codeunits make up a Unicode string. |