InDesign Server2025
API 20.5.0.49
Collection of Character

Characters

A collection of characters.

Properties

NameType AccessDescription
Number readonly The number of objects in the collection.

Methods

Character

Returns the Character with the specified index.

index Number The index.
Character

Returns any Character in the collection.

Number

Displays the number of elements in the Character.

Character[]

Returns every Character in the collection.

Character

Returns the first Character in the collection.

Character

Returns the Character with the specified index or name.

index LongInteger | String The index or name. Can accept: Long Integer or String.
Character[]

Returns the Characters within the specified range.

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

Returns the last Character in the collection.

Character

Returns the middle Character in the collection.

Character

Returns the Character whose index follows the specified Character in the collection.

obj Character The Character whose index comes before the desired Character.
Character

Returns the Character with the index previous to the specified index.

obj Character The index of the Character that follows the desired Character.
String

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

Object of 20

Properties elsewhere that hold a Characters.