words

Typekeyword
DictionaryLCS
LibraryLiveCode Script
Syntax
words
Summary

Used with the sort command, number function, and is among and is not among properties to designate space-delimited or quoted parts of a string. Also used with the find command to search for one or more entire words.

Introduced1.0
OSmac, windows, linux, ios, android
Platformsdesktop, server, mobile
Example
put (field 2 is among the words of field 1) into spellcheckMe
find words "run" -- finds "run", but not "running" or "grunt"
RelatedProperty: properties
Control Structure: function
Operator: is among, is not among
Keyword: word, string, words, trueWords
Object: card
Glossary: keyword, command, quoted, delimit, Unicode
Function: number
Command: select, find, sort
Description

Use the words keyword to sort or select individual words.

A word is a set of characters enclosed by spaces, tabs, or returns.

Note: To refer to actual words, i.e., words delimited by Unicode word breaks, use the keyword trueWords.

When used with the find command, the words keyword finds cards that contain each of the specified words, though not necessarily next to each other.

Tagsdatabase