メインコンテンツまでスキップ
バージョン:26.3

fourth, fourths

Ordinal Number​

Selects the fourth chunk element.

Examples:

put the fourth word of "we hold these truths to be …" —> truths
put the fourth char of "ABCDEFGHIJKLMNOPQRSTUVWXYZ" --> D

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 fourth-to-last char of "ABCDEFGHIJKLMNOPQRSTUVWXYZ" --> W

Fraction​

Example:

multiply monthlyAllowance by one fourth