1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-07-02 02:03:14 +00:00
TiddlyWiki5/editions/tw5.com/tiddlers/filters/FilterOperator suffix.tid
TheDiveO f6f9c74fe9 added documentation tiddlers for addprefix and addsuffix; updated
documentation tiddlers for prefix, suffix, removeprefix, removesuffix to
reference the new addprefix and addsuffix filter operators.
2014-10-06 21:49:54 +02:00

17 lines
750 B
Plaintext

created: 20140828133830424
modified: 20140828133830424
tags: Filters
title: FilterOperator: suffix
caption: suffix
type: text/vnd.tiddlywiki
The ''suffix'' filter operator returns the titles in the current list that end with a specified suffix. If the ''suffix'' operator is preceded by `!` then it returns the titles that do not end with the specified suffix.
For example:
|!Filter String |!Description |
|`[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]], [[FilterOperator: removeprefix]], [[FilterOperator: addprefix]], and [[FilterOperator: addsuffix]].