1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-07-04 11:13:15 +00:00
TiddlyWiki5/editions/tw5.com/tiddlers/filters/nth.tid

19 lines
527 B
Plaintext
Raw Normal View History

created: 20150122204111000
modified: 20150124204959000
tags: [[Filter Operators]] [[Order Operators]]
title: nth Operator
2014-04-10 18:56:51 +00:00
type: text/vnd.tiddlywiki
caption: nth
purpose: select the <<.place n>>th input title
2014-04-10 18:56:51 +00:00
<$macrocall $name=".operator-def"
input="a [[selection of titles|Title Selection]]"
parameter="an integer, defaulting to 1"
paramName="n"
output="the <<.place n>>th input title"
/>
2014-04-10 18:56:51 +00:00
<<.place n>> is one-based. In other words, `nth[1]` has the same effect as the <<.olink first>> operator.
2014-04-10 18:56:51 +00:00
<<.operator-examples "nth">>