Characters

A collection of characters.

Methods:

anyItem, count, everyItem, firstItem, item, itemByName, 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 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 Long String)

Returns the Character with the specified index or name.

Parameter

Type

Description

index

Long

String

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

Character itemByName (name:String)

Returns the Character with the specified name.

Parameter

Type

Description

name

String

The name.

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

Returns the Characters within the specified range.

Parameter

Type

Description

from

Character

Long

String

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

to

Character

Long

String

The Character, index, or name at the end of the range. Can accept: Character, Long 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

TextPath.characters

Note.characters

Footnote.characters

XMLElement.characters