A collection of words.
Methods
WordanyItem ()
Returns any Word in the collection.
number count ()
Displays the number of elements in the Word.
Array of WordeveryItem ()
Returns every Word in the collection.
WordfirstItem ()
Returns the first Word in the collection.
Worditem (index:
any)
Returns the Word with the specified index or name.
| Parameter | Type | Description |
|---|---|---|
| index | Long Integer String |
The index or name. Can accept: Long Integer or String. |
WorditemByName (name:
string)
Returns the Word with the specified name.
| Parameter | Type | Description |
|---|---|---|
| name | string | The name. |
Array of WorditemByRange (from:
any, to:
any)
Returns the Words within the specified range.
| Parameter | Type | Description |
|---|---|---|
| from | Word Long Integer String |
The Word, index, or name at the beginning of the range. Can accept: Word, Long Integer or String. |
| to | Word Long Integer String |
The Word, index, or name at the end of the range. Can accept: Word, Long Integer or String. |
WordlastItem ()
Returns the last Word in the collection.
WordmiddleItem ()
Returns the middle Word in the collection.
WordnextItem (obj:
Word)
Returns the Word whose index follows the specified Word in the collection.
| Parameter | Type | Description |
|---|---|---|
| obj | Word | The Word whose index comes before the desired Word. |
WordpreviousItem (obj:
Word)
Returns the Word with the index previous to the specified index.
| Parameter | Type | Description |
|---|---|---|
| obj | Word | The index of the Word that follows the desired Word. |
string toSource ()
Generates a string which, if executed, will return the Word.
Element of:
Cell.words
Character.words
Footnote.words
InsertionPoint.words
Line.words
Note.words
Paragraph.words
Story.words
Text.words
TextColumn.words
TextFrame.words
TextPath.words
TextStyleRange.words
Word.words
XMLElement.words
XmlStory.words