mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-08-17 17:00:40 +00:00
![TheDiveO](/assets/img/avatar_default.png)
documentation tiddlers for prefix, suffix, removeprefix, removesuffix to reference the new addprefix and addsuffix filter operators.
17 lines
744 B
Plaintext
17 lines
744 B
Plaintext
created: 20140410103123179
|
|
modified: 20140410103123179
|
|
tags: Filters
|
|
caption: prefix
|
|
title: FilterOperator: prefix
|
|
type: text/vnd.tiddlywiki
|
|
|
|
The ''prefix'' filter operator returns the titles in the current list that start with a specified prefix. If the ''prefix'' operator is preceded by `!` then it returns the titles that do not start with the specified prefix.
|
|
|
|
For example:
|
|
|
|
|!Filter String |!Description |
|
|
|`[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]], [[FilterOperator: removesuffix]], [[FilterOperator: addprefix]], and [[FilterOperator: addsuffix]].
|