Hello,

I'm trying to use the new *contains* filter to determine whether a list 
field *note *in the tiddler *$:/note* contains a colon (:) but my code 
fails and I'm obviously doing something wrong. I'd appreciate if anyone 
could point me in the right direction.

Here's my code:

\define test1()
<$set name=source value={{$:/note!!note}}>
<$set name=content value=":">
<<test2>>
</$set>
</$set>
\end

\define test2()
<$list filter="[[$(source)$]contains[$(content)$]]">
YES <<currentTiddler>>
</$list>
<$list filter="[[$(source)$]!contains[$(content)$]]">
No <<currentTiddler>>
</$list>
\end

<<test1>>

Thank you in advance.

Best regards.
Hubert

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/98f2bf2a-7a5b-4d34-b10d-2e404d60586f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to