Exclude first N items from the list

71 views
Skip to first unread message

Shareda

unread,
Oct 13, 2020, 5:25:26 PM10/13/20
to TiddlyWiki
What is more pretty and fast way to exclude first N items from the list?
Now I have
\define fastFilter() [all[tiddlers]b{!!b} +[putlast:$(curN)$[]limit[$(CountMinusN)$]]

Eric Shulman

unread,
Oct 13, 2020, 5:33:48 PM10/13/20
to TiddlyWiki
The rest[] operator does this.  Thus:
\define fastFilter() [all[tiddlers]b{!!b}rest[$(curN)$]]

-e

Shareda

unread,
Oct 14, 2020, 2:54:56 PM10/14/20
to TiddlyWiki
So simple! Thank you! I've already take that to my Tiddlywiki! 

среда, 14 октября 2020 г. в 03:33:48 UTC+6, Eric Shulman:
Reply all
Reply to author
Forward
0 new messages