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

15 lines
449 B
Plaintext
Raw Normal View History

2014-04-10 18:56:51 +00:00
created: 20140410103123179
modified: 20140410103123179
2014-09-10 22:42:13 +00:00
tags: Filters
caption: nth
2014-04-10 18:56:51 +00:00
title: FilterOperator: nth
type: text/vnd.tiddlywiki
Without an operand, the ''nth'' filter operator returns the first entry in the current list. The optional operand specifies the number of entries to return.
For example:
|!Filter String |!Description |
|`one two three four five +[nth[]]` |Returns `one` |
|`one two three four five +[nth[3]]` |Returns `three` |