Characters

A collection of characters.

Methods

CharacteranyItem ()
Returns any Character in the collection.

number count ()
Displays the number of elements in the Character.

Array of CharactereveryItem ()
Returns every Character in the collection.

CharacterfirstItem ()
Returns the first Character in the collection.

Characteritem (index:
any)
Returns the Character with the specified index or name.

Parameter Type Description
index Long Integer
String
The index or name. Can accept: Long Integer or String.

CharacteritemByName (name:
string)
Returns the Character with the specified name.

Parameter Type Description
name string The name.

Array of CharacteritemByRange (from:
any, to:
any)
Returns the Characters within the specified range.

Parameter Type Description
from Character
Long Integer
String
The Character, index, or name at the beginning of the range. Can accept: Character, Long Integer or String.
to Character
Long Integer
String
The Character, index, or name at the end of the range. Can accept: Character, Long Integer or String.

CharacterlastItem ()
Returns the last Character in the collection.

CharactermiddleItem ()
Returns the middle Character in the collection.

CharacternextItem (obj:
Character)
Returns the Character whose index follows the specified Character in the collection.

Parameter Type Description
obj Character The Character whose index comes before the desired Character.

CharacterpreviousItem (obj:
Character)
Returns the Character with the index previous to the specified index.

Parameter Type Description
obj Character The index of the Character that follows the desired Character.

string toSource ()
Generates a string which, if executed, will return the Character.

Element of:

Cell.characters
Character.characters
Footnote.characters
InsertionPoint.characters
Line.characters
Note.characters
Paragraph.characters
Story.characters
Text.characters
TextColumn.characters
TextFrame.characters
TextPath.characters
TextStyleRange.characters
Word.characters
XMLElement.characters
XmlStory.characters

Leave a Comment

Previous post:

Next post: