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

second

Ordinal Number​

Selects the second chunk element.

Examples:

put the second item of myList
put the second char of "ABCDEFGHIJKLMNOPQRSTUVWXYZ" --> B

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 second-to-last char of "ABCDEFGHIJKLMNOPQRSTUVWXYZ" --> Y

Related terms in the SenseTalk Dictionary:

Function​

The second returns the second (from 0 to 59) of the current time.

The second of timeValue returns the second of the given time value.

Related terms in the SenseTalk Dictionary: