From 88a5c742e7af015e0bd57052cde80768c0580233 Mon Sep 17 00:00:00 2001 From: William Jackson Date: Sun, 8 Nov 2015 10:27:35 +0200 Subject: [PATCH] Create prepend.tid --- .../tiddlers/filters/examples/prepend.tid | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 editions/tw5.com/tiddlers/filters/examples/prepend.tid diff --git a/editions/tw5.com/tiddlers/filters/examples/prepend.tid b/editions/tw5.com/tiddlers/filters/examples/prepend.tid new file mode 100644 index 000000000..d2dceced5 --- /dev/null +++ b/editions/tw5.com/tiddlers/filters/examples/prepend.tid @@ -0,0 +1,18 @@ +created: 20151017151508135 +creator: matabele +modified: 20151108051743531 +modifier: matabele +revision: 0 +tags: [[Operator Examples]] [[prepend Operator]] +title: prepend Operator (Examples) +type: text/vnd.tiddlywiki + +<<.using-days-of-week>> + +The operator may be used to prepend a number of items to the list. + +<<.operator-example 1 "[list[Days of the Week]prepend[Yesterday Today Tomorrow]]">> + +The operand may list only items without spaces -- to include items with spaces, use a reference to an array e.g. prepend the last three short days of the week to the list + +<<.operator-example 2 "[list[Days of the Week]!prepend:3{Days of the Week!!short}]">>