diff --git a/editions/tw5.com/tiddlers/filters/FilterOperator addprefix.tid b/editions/tw5.com/tiddlers/filters/FilterOperator addprefix.tid new file mode 100644 index 000000000..48ac8129d --- /dev/null +++ b/editions/tw5.com/tiddlers/filters/FilterOperator addprefix.tid @@ -0,0 +1,15 @@ +created: 20140410103123179 +modified: 20140410103123179 +tags: Filters +caption: addprefix +title: FilterOperator: addprefix +type: text/vnd.tiddlywiki + +The ''addprefix'' filter operator add a prefix to all titles in the current list. + +For example: + +|!Filter String |!Description | +|`one two three +[addprefix[tid-]]` |Returns `tid-one`, `tid-two`, `tid-three` | + +See also [[FilterOperator: prefix]], [[FilterOperator: suffix]], [[FilterOperator: addsuffix]], [[FilterOperator: removeprefix]] and [[FilterOperator: removesuffix]]. diff --git a/editions/tw5.com/tiddlers/filters/FilterOperator addsuffix.tid b/editions/tw5.com/tiddlers/filters/FilterOperator addsuffix.tid new file mode 100644 index 000000000..ecd3748b7 --- /dev/null +++ b/editions/tw5.com/tiddlers/filters/FilterOperator addsuffix.tid @@ -0,0 +1,15 @@ +created: 20140828133830424 +modified: 20140902145613329 +tags: Filters +caption: addsuffix +title: FilterOperator: addsuffix +type: text/vnd.tiddlywiki + +The ''addsuffix'' filter operator adds a suffix to all titles in the current list. + +For example: + +|!Filter String |!Description | +|`one two three +[addsuffix[-tid]]` |Returns `one-tid`, `two-tid`, `three-tid` | + +See also [[FilterOperator: suffix]], [[FilterOperator: prefix]], [[FilterOperator: addprefix]], [[FilterOperator: removesuffix]], and [[FilterOperator: removeprefix]]. diff --git a/editions/tw5.com/tiddlers/filters/FilterOperator prefix.tid b/editions/tw5.com/tiddlers/filters/FilterOperator prefix.tid index 41139bbb4..af965c7c6 100644 --- a/editions/tw5.com/tiddlers/filters/FilterOperator prefix.tid +++ b/editions/tw5.com/tiddlers/filters/FilterOperator prefix.tid @@ -13,4 +13,4 @@ For example: |`[tag[task]!prefix[hidden]]` |Returns tiddlers tagged `task` whose titles do not start with `hidden` | |`[prefix[$:/]]` |Equivalent to `[is[system]]` | -See also [[FilterOperator: removeprefix]], [[FilterOperator: removesuffix]] and [[FilterOperator: removesuffix]]. +See also [[FilterOperator: removeprefix]], [[FilterOperator: removesuffix]], [[FilterOperator: removesuffix]], [[FilterOperator: addprefix]], and [[FilterOperator: addsuffix]]. diff --git a/editions/tw5.com/tiddlers/filters/FilterOperator removeprefix.tid b/editions/tw5.com/tiddlers/filters/FilterOperator removeprefix.tid index a3aebd3bd..c9ab7b69a 100644 --- a/editions/tw5.com/tiddlers/filters/FilterOperator removeprefix.tid +++ b/editions/tw5.com/tiddlers/filters/FilterOperator removeprefix.tid @@ -12,4 +12,4 @@ For example: |!Filter String |!Description | |`tid-one tid-two three +[removeprefix[tid-]]` |Returns `one`, `two` | -See also [[FilterOperator: prefix]], [[FilterOperator: suffix]] and [[FilterOperator: removesuffix]]. +See also [[FilterOperator: prefix]], [[FilterOperator: suffix]], [[FilterOperator: removesuffix]], [[FilterOperator: addprefix]], and [[FilterOperator: addsuffix]]. diff --git a/editions/tw5.com/tiddlers/filters/FilterOperator removesuffix.tid b/editions/tw5.com/tiddlers/filters/FilterOperator removesuffix.tid index b07a4e3d2..9b55a9383 100644 --- a/editions/tw5.com/tiddlers/filters/FilterOperator removesuffix.tid +++ b/editions/tw5.com/tiddlers/filters/FilterOperator removesuffix.tid @@ -12,4 +12,4 @@ For example: |!Filter String |!Description | |`one-tid two-tid three +[removesuffix[-tid]]` |Returns `one`, `two` | -See also [[FilterOperator: suffix]], [[FilterOperator: prefix]] and [[FilterOperator: removeprefix]]. +See also [[FilterOperator: suffix]], [[FilterOperator: prefix]], [[FilterOperator: removeprefix]], [[FilterOperator: addprefix]], and [[FilterOperator: addsuffix]]. diff --git a/editions/tw5.com/tiddlers/filters/FilterOperator suffix.tid b/editions/tw5.com/tiddlers/filters/FilterOperator suffix.tid index a82c9fca5..0c12a01a2 100644 --- a/editions/tw5.com/tiddlers/filters/FilterOperator suffix.tid +++ b/editions/tw5.com/tiddlers/filters/FilterOperator suffix.tid @@ -13,4 +13,4 @@ For example: |`[tag[task]!suffix[hidden]]` |Returns tiddlers tagged `task` whose titles do not end with `hidden` | |`[suffix[.jpg]]` |Returns tiddlers whose titles end with `.jpg` | -See also [[FilterOperator: removesuffix]], [[FilterOperator: prefix]] and [[FilterOperator: removeprefix]]. +See also [[FilterOperator: removesuffix]], [[FilterOperator: prefix]], [[FilterOperator: removeprefix]], [[FilterOperator: addprefix]], and [[FilterOperator: addsuffix]].