1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2025-04-06 02:37:14 +00:00

Merge f6a02229724bc8b8a7030c2ded7d08cc80bb06e7 into 8bda28afd5082bbf3f77482990f476ca6764df17

This commit is contained in:
bobjtls 2025-03-27 17:23:49 +00:00 committed by GitHub
commit bc69b26415
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 18 additions and 8 deletions

View File

@ -1,13 +1,13 @@
caption: addprefix
created: 20140410103123179
modified: 20150203181822000
modified: 20250323034328900
op-input: a [[selection of titles|Title Selection]]
op-output: the input, but with <<.place S>> added to the start of each title
op-parameter: a string of characters
op-parameter-name: S
op-purpose: extend each input title with a prefix
tags: [[Filter Operators]] [[String Operators]]
title: addprefix Operator
type: text/vnd.tiddlywiki
caption: addprefix
op-purpose: extend each input title with a prefix
op-input: a [[selection of titles|Title Selection]]
op-parameter: a string of characters
op-parameter-name: S
op-output: the input, but with <<.place S>> added to the start of each title
<<.operator-examples "addprefix">>

View File

@ -1,7 +1,17 @@
created: 20150118132851000
modified: 20150118183116000
modified: 20250323034523441
tags: [[addprefix Operator]] [[Operator Examples]]
title: addprefix Operator (Examples)
type: text/vnd.tiddlywiki
<<.operator-example 1 "Cat Garden [[Favourite Armchair]] +[addprefix[My ]]">>
```
The syntax for using the addprefix operator is as follows:
square brackets surround literal text value (e.g., addprefix[sometext] as shown in the example above)
curly braces surround tiddler field references (e.g., addprefix{SomeTiddler!!somefield})
angle brackets surround variable references (e.g., addprefix<somevariablename>)
```