Characters

A collection of characters.

Methods:

[], anyItem, count, everyItem, firstItem, item, itemByRange, lastItem, middleItem, nextItem, previousItem, toSource

Property Listing

Property

Type

Access

Description

length

Number

readonly

The number of objects in the collection.

Method Listing

Character [] (index:Number)

Returns the Character with the specified index.

Parameter

Type

Description

index

Number

The index.

Character anyItem ()

Returns any Character in the collection.

Number count ()

Displays the number of elements in the Character.

Character everyItem ()

Returns every Character in the collection.

Character firstItem ()

Returns the first Character in the collection.

Character item (index:Varies LongInteger String)

Returns the Character with the specified index or name.

Parameter

Type

Description

index

LongInteger

String

The index or name. Can accept: Long Integer or String.

Character itemByRange (from:Varies Character LongInteger String, to:Varies Character LongInteger String)

Returns the Characters within the specified range.

Parameter

Type

Description

from

Character

LongInteger

String

The Character, index, or name at the beginning of the range. Can accept: Character, Long Integer or String.

to

Character

LongInteger

String

The Character, index, or name at the end of the range. Can accept: Character, Long Integer or String.

Character lastItem ()

Returns the last Character in the collection.

Character middleItem ()

Returns the middle Character in the collection.

Character nextItem (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.

Character previousItem (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.

Object of

Cell.characters

Text.characters

Character.characters

Word.characters

Line.characters

TextColumn.characters

Paragraph.characters

TextStyleRange.characters

InsertionPoint.characters

TextFrame.characters

Story.characters

Endnote.characters

EndnoteTextFrame.characters

Change.characters

TextPath.characters

Note.characters

Footnote.characters

HiddenText.characters

XMLElement.characters

XmlStory.characters