이 문서는 https://tiddlywiki.com/languages/ko-KR/에서 티들리위키의 정적 HTML 표현의 일부입니다

substitute Operator (Examples)

2023년 6월 14일 오후 11:34

Substitute substitute[] operator parameters

[[Hi, I'm $1$ and I live in $2$]substitute[Bugs Bunny],[Rabbit Hole Hill]]

Substitute variables

This example uses the following variables:

  • name:
    Bugs Bunny
  • address:
    Rabbit Hole Hill

[[Hi, I'm $(name)$ and I live in $(address)$]substitute[]]

Substitute variables and operator parameters

This example uses the following variable:

  • time:
    morning

[[Something in the $(time)$ at $2$ about $1$ ]substitute[Maths],[the Library]]

Substitute a filter expression and a variable

This example uses the following variables:

  • field:
    modified
  • sentence:
    This tiddler was last $(field)$ on ${[{!!modified}format:date[DDth MMM YYYY]]}$

[<sentence>substitute[]]