mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-09-19 18:59:42 +00:00
29 lines
717 B
Plaintext
29 lines
717 B
Plaintext
title: Filters/QueryStrings
|
|
description: Query string filter operators
|
|
type: text/vnd.tiddlywiki-multiple
|
|
tags: [[$:/tags/wiki-test-spec]]
|
|
|
|
title: Output
|
|
|
|
\define url() https://tiddlywiki.com/
|
|
|
|
<$let lf={{{ [charcode[10],[13]]}}}>
|
|
|
|
<$text text={{{
|
|
[[$$$]setquerystring[habitat],[desert]]
|
|
[<url>setquerystring[]]
|
|
[<url>setquerystring[animal],[elephant]]
|
|
[<url>setquerystring[animal],[elephant]setquerystring[animal],[ostrich]]
|
|
[<url>setquerystring[animal],[elephant]setquerystring[animal],[ostrich]setquerystring[animal]]
|
|
+[join<lf>]
|
|
}}}/>
|
|
|
|
</$let>
|
|
+
|
|
title: ExpectedResult
|
|
|
|
$$$
|
|
https://tiddlywiki.com/
|
|
https://tiddlywiki.com/?animal=elephant
|
|
https://tiddlywiki.com/?animal=ostrich
|
|
https://tiddlywiki.com/?animal= |