character

Typekeyword
DictionaryLCS
LibraryLiveCode Script
Syntax
character
Synonymschar
Summary

Designates a single character as part of a chunk expression.

Introduced1.0
OSmac, windows, linux, ios, android
Platformsdesktop, server, mobile
Example
get char 1 of field "Answers"
put char 12 to 14 of it into oldAnswer
RelatedKeyword: characters, codepoint, codeunits, character, line, word, codepoints, bytes, byte, codeunit
Glossary: chunk expression
Property: imageSource
Description

Use the character keyword to refer to a specific character or characters in a container.

A character refers to what would naturally be thought of as a single graphical character, even if it is composed of multiple sub-units, as in some accented text or Korean ideographs.

The hierarchy of the new and altered chunk types is as follows:

byte w of codeunit x of codepoint y of char z of word ...

Note: In versions prior to 7.0 the byte chunk was identical in functionality to the character chunk. In 7.0 and later a character is not an 8-bit unit and it is therefore not appropriate to use this type of chunk expression on binary data, to refer to 8-bit units in binary data use the byte keyword.

Tagstext processing