items

Typekeyword
DictionaryLCS
LibraryLiveCode Script
Syntax
items
Summary

Used with the sort command, number function, and is among and is not among properties to designate the comma-delimited portions (or portions delimited by the character in the itemDelimiter property) of a string.

Introduced1.0
OSmac, windows, linux, ios, android
Platformsdesktop, server, mobile
Example
if it is not among the items of field "Possible Answers" then beep
sort items of myVariable
RelatedProperty: properties, itemDelimiter
Control Structure: function
Operator: is among, is not among
Keyword: characters, string, item, character, lines, words, items
Constant: tab
Function: number, itemOffset
Glossary: property, keyword, command, delimit, chunk
Command: sort, select
Description

Use the items keyword to sort or select individual items.

By default, an item is delimited by commas (,). However, you can set the itemDelimiter property to any character in order to directly address chunks delimited by that character. For example, you can set the itemDelimiter to tab in order to handle a database file whose fields are tab-delimited.

An item is a string of characters delimited by commas (or the itemDelimiter character). A single item can contain multiple characters, multiple words, and multiple lines.

Tagstext processing