2014-04-10 18:56:51 +00:00
|
|
|
created: 20140410103123179
|
2022-02-22 16:38:40 +00:00
|
|
|
modified: 20220218023400000
|
2015-01-24 21:18:44 +00:00
|
|
|
tags: [[Filter Operators]] [[String Operators]] [[Negatable Operators]]
|
|
|
|
title: prefix Operator
|
2014-04-10 18:56:51 +00:00
|
|
|
type: text/vnd.tiddlywiki
|
2015-01-24 21:18:44 +00:00
|
|
|
caption: prefix
|
2015-02-03 19:29:25 +00:00
|
|
|
op-purpose: filter the input titles by how they start
|
|
|
|
op-input: a [[selection of titles|Title Selection]]
|
|
|
|
op-parameter: a string of characters
|
|
|
|
op-parameter-name: S
|
|
|
|
op-output: those input titles that start with <<.place S>>
|
|
|
|
op-neg-output: those input tiddlers that do <<.em not>> start with <<.place S>>
|
2022-02-22 16:38:40 +00:00
|
|
|
op-suffix: the <<.op prefix>> operator uses a rich suffix, see below for details
|
2014-04-10 18:56:51 +00:00
|
|
|
|
2022-02-22 16:38:40 +00:00
|
|
|
<<.from-version "5.2.2">>
|
|
|
|
|
|
|
|
The <<.op prefix>> operator uses an extended syntax that permits multiple flags to be passed:
|
|
|
|
|
|
|
|
```
|
|
|
|
[prefix:<flag list>[<operand>]]
|
|
|
|
```
|
|
|
|
|
|
|
|
* ''flag list'': a comma delimited list of flags
|
|
|
|
* ''operand'': filter operand
|
|
|
|
|
|
|
|
The available flags are:
|
|
|
|
|
|
|
|
* ''casesensitive'': (default), this flag forces a case-sensitive match, where upper and lower case letters are considered different
|
|
|
|
* ''caseinsensitive'': overrides the default so that upper and lower case letters are considered identical for matching purposes
|
2014-04-10 18:56:51 +00:00
|
|
|
|
2015-01-24 21:18:44 +00:00
|
|
|
<<.operator-examples "prefix">>
|