items

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

# Metadata

Platforms: desktop, server, mobile OS: mac, windows, linux, ios, android Introduced: 1.0 Security:

# Syntax

items

# Examples

if it is not among the items of field "Possible Answers" then beep

sort items of myVariable

# 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 delimit by that character. For example, you can set the itemDelimiter to tab in order to handle a database file whose fields are tab-delimit.

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.

# Tags

# See

- **property:** 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