How to remove duplicate values from $list ?

51 views
Skip to first unread message

Siniy-Kit

unread,
Jun 19, 2021, 4:25:23 AM6/19/21
to TiddlyWiki
Hi! I have a very simple list here https://heeg.ru/shop2_2.html?id=1E2t7KGpcX5Gar0erhnUsH4th7kCk5BoVll-QYbNbTwY#Obshchij

<$list filter="[is[current]tagging[]tag[$:/Note]fields[]prefix[parametr]!suffix[-hide-hide]minlength[1]]" variable=name >
 <b><$text text={{{[<name>removeprefix[parametr]removesuffix[-hide]][<name>!suffix[-hide]removeprefix[parametr]] +[decodeuri[]]}}}/> </b>
<hr>
<$list  filter="[is[current]tagging[]tag[$:/Note]each<name>get<name>split[,]trim[]] ">

*<<currentTiddler>>
</$list>
 </$list>

it works,  but I get duplicates Снимок экрана 2021-06-19 111700.png 
 when I try to make enlist to this filter  to remove duplicates, I get many lines and [[
How to remove duplicate values from $list ? 

Saq Imtiaz

unread,
Jun 19, 2021, 4:36:58 AM6/19/21
to TiddlyWiki
Have you tried using the unique[] operator?
https://tiddlywiki.com/#unique%20Operator

Siniy-Kit

unread,
Jun 19, 2021, 4:46:06 AM6/19/21
to TiddlyWiki
Thank you. It works very good.

суббота, 19 июня 2021 г. в 11:36:58 UTC+3, saq.i...@gmail.com:

Saq Imtiaz

unread,
Jun 19, 2021, 4:50:55 AM6/19/21
to TiddlyWiki
пожалуйста
Reply all
Reply to author
Forward
0 new messages