Designates a comma-delimit string as part of a chunk expression.
# Metadata
Platforms: desktop, server, mobile OS: mac, windows, linux, ios, android Introduced: 1.0 Security:
# Syntax
item
# Examples
get item 2 of field "Name"
put it into item 3 of line tThisRecord of myNamesDB
# Description
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 a single comma (or a single one of the itemDelimiter character). A single item can contain multiple characters, multiple words, and multiple lines.
>*Note:* In LiveCode, if the last character of a string is the > itemDelimiter, then this character is ignored by the item keyword. > For example the last item of the string "1,2,3," is "3" (assuming > comma is the itemDelimiter)
# Tags
# See
- **keyword:** characters, string, item, character, lines, element, word, words - **constant:** tab - **property:** itemDelimiter - **function:** itemOffset - **glossary:** keyword, property, delimit, container, chunk expression, chunk