2015-01-24 21:18:44 +00:00
|
|
|
created: 20150122204111000
|
|
|
|
modified: 20150124204959000
|
|
|
|
tags: [[Filter Operators]] [[Order Operators]]
|
|
|
|
title: nth Operator
|
2014-04-10 18:56:51 +00:00
|
|
|
type: text/vnd.tiddlywiki
|
2015-01-24 21:18:44 +00:00
|
|
|
caption: nth
|
|
|
|
purpose: select the <<.place n>>th input title
|
2014-04-10 18:56:51 +00:00
|
|
|
|
2015-01-24 21:18:44 +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
|
|
|
|
2015-01-24 21:18:44 +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
|
|
|
|
2015-01-24 21:18:44 +00:00
|
|
|
<<.operator-examples "nth">>
|