2014-04-10 18:56:51 +00:00
|
|
|
created: 20140410103123179
|
2015-01-24 21:18:44 +00:00
|
|
|
modified: 20150124172210000
|
|
|
|
tags: [[Filter Operators]] [[Order Operators]]
|
2015-01-18 18:39:00 +00:00
|
|
|
title: butlast Operator
|
2014-04-10 18:56:51 +00:00
|
|
|
type: text/vnd.tiddlywiki
|
2015-01-18 18:39:00 +00:00
|
|
|
caption: butlast
|
2015-01-24 21:18:44 +00:00
|
|
|
purpose: discard the last <<.place n>> input titles
|
2014-04-10 18:56:51 +00:00
|
|
|
|
2015-01-18 18:39:00 +00:00
|
|
|
<$macrocall $name=".operator-def"
|
2015-01-24 21:18:44 +00:00
|
|
|
input="a [[selection of titles|Title Selection]]"
|
2015-01-18 18:39:00 +00:00
|
|
|
parameter="an integer, defaulting to 1"
|
|
|
|
paramName="n"
|
2015-01-24 21:18:44 +00:00
|
|
|
output="all but the last <<.place n>> input titles"
|
2015-01-18 18:39:00 +00:00
|
|
|
/>
|
2014-04-10 18:56:51 +00:00
|
|
|
|
2015-01-18 18:39:00 +00:00
|
|
|
<<.operator-examples "butlast">>
|