Skip to main content
Version: 26.3

fiftieth, fiftieths

Ordinal Number​

Selects the fiftieth chunk element.

Examples:

put the fiftieth item of averages into cutoffPoint
put the fiftieth char of "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890!@#$%^&*()-_[]{}\|~`;':,.<>/?π√¢×⎇«»≤≥" --> x

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 fiftieth-to-last char of "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890!@#$%^&*()-_[]{}\|~`;':,.<>/?π√¢×⎇«»≤≥" --> y

Fraction​

Example:

put one fiftieth of a centimeter -—> 0.02 centimeters