Livecode Wiki
Advertisement

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

Examples:

get last word of the long name of this stack

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

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

Words are delimited by double quotes ("), but not by curved (curly) quotes (“ ”). LiveCode does not treat curved quotes as quotes.

The word counter doesn't count words until a quote is closed by a quote or a new line.

See Also: character Keyword, item Keyword, line Keyword, token Keyword, words Keyword, paragraph Keyword, sentence Keyword, trueWord Keyword

Advertisement