segment

Typekeyword
DictionaryLCS
LibraryLiveCode Script
Syntax
segment
Synonymsword
Summary

Designates a space-delimited or quoted string as part of a chunk expression.

Introduced7.0
OSmac, windows, linux, ios, android
Platformsdesktop, server, mobile
Example
get last segment of the long name of this stack
RelatedKeyword: string, item, character, characters, lines, segments, sentence, trueWord, line, words, token, paragraph
Glossary: quoted, chunk expression, double quote, delimit
Constant: space, tab, return
Description

Use the segment keyword to refer to one or more words in a container.

A segment is delimited by one or more spaces, tabs, or returns, or enclosed by double quotes. A single segment can contain multiple characters and multiple items, but not multiple lines.

Note: Segments are delimited by double quotes ("), but not by curved quotes (Ò or Ó). LiveCode does not treat curved quotes as quotes.

Tagstext processing