codepoints

Typekeyword
DictionaryLCS
LibraryLiveCode Script
Syntax
codepoints
Summary

Used with the number function(glossary) to designate codepoints as a separate portion of a string.

Introduced7.0
OSmac, windows, linux, ios, android
Platformsdesktop, server, mobile
Example
get the number of codepoints of tString
RelatedKeyword: characters, codepoint, codeunits, character, string, codeunit, bytes, byte
Glossary: function
Function: number
Description

Use the codepoints keyword to count the number of codepoints making up a string.

A codepoint refers to the integer identifiers associated with Unicode characters. A single character is composed of one or more codepoints.

Use the expression

the number of codepoints of tString

to find out how many codepoints make up a Unicode string.