1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-07-04 11:13:15 +00:00
TiddlyWiki5/editions/tw5.com/tiddlers/filters/FilterOperator suffix.tid

17 lines
750 B
Plaintext
Raw Normal View History

2014-08-28 13:46:00 +00:00
created: 20140828133830424
modified: 20140828133830424
2014-09-10 22:42:13 +00:00
tags: Filters
2014-08-28 13:46:00 +00:00
title: FilterOperator: suffix
2014-09-10 22:42:13 +00:00
caption: suffix
2014-08-28 13:46:00 +00:00
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]].