Skip to main content
Version: 26.3

thirteenth, thirteenths

Ordinal Number​

Selects the thirteenth chunk element.

Examples:

put the thirteenth character of "a bird in the hand" --> e
put the thirteenth char of "ABCDEFGHIJKLMNOPQRSTUVWXYZ" --> M

Accessing Chunks Using ordinal-to-last​

(Added in SenseTalk 2.13)

You can access chunks counting back from the end of a string, list, etc. using ordinal-to-last syntax.

Example:

put the thirteenth-to-last char of "ABCDEFGHIJKLMNOPQRSTUVWXYZ" --> N

Fraction​

Example:

set tolerance to two thirteenths of a centimeter