Lingo Dictionary > Symbols > [ ] (bracket access) |
![]() ![]() ![]() |
[ ] (bracket access)
Syntax
textExpression
[
chunkNumberBeingAddressed
]
textExpression
[
firstChunk..lastChunk
]
Description
Operator; allows a chunk expression to be addressed by number. Useful for finding the nth chunk in the expression. The chunk can be a word, line, character, paragraph, or other Text cast member chunk.
Example
This outputs the first word of the third line in the text cast member First Names:
put member("First Names").text.line[3].word[1]
![]() ![]() ![]() |