David,

Until this is resolved with the new maths operators you may b able to find 
an alternate way to achieve what you want, in your example you are setting 
HasDuplicates 
with a string of titles. 

Perhaps explain not so much how you are doing this but what and why you are 
doing this?

There should be a code work around.

Regards
Tony


On Tuesday, April 23, 2019 at 9:32:28 PM UTC+10, David Nebauer wrote:
>
> This tiddlyscript:
>
> <$set name="HasDuplicates" value="one two two three [[twenty one]] 
> [[twenty one]] [[forty six]]">
>
> <$list filter="[split:list<HasDuplicates>]">
>
> </$list>
>
> xXx
>
> <$list filter="[enlist<HasDuplicates>]">
>
> </$list>
>
> </$set>
>
> results in:
>
>
> one <http://localhost:10744/#one>
> two <http://localhost:10744/#two>
> three <http://localhost:10744/#three>
> twenty one <http://localhost:10744/#twenty%20one>
> forty six <http://localhost:10744/#forty%20six>
>
>
> xXx
>
> one <http://localhost:10744/#one>
> two <http://localhost:10744/#two>
> three <http://localhost:10744/#three>
> twenty one <http://localhost:10744/#twenty%20one>
> forty six <http://localhost:10744/#forty%20six>
>
> There are duplicate items in the list, and in this example *split:list* 
> removes them just as *enlist* does. It is my understanding that 
> tobibeer's split filter is not supposed to remove duplicates unless the 
> 'unique' suffix is used. Does anyone know if there any way to use 
> tobibeer's split filter to obtain a list that keeps duplicate items? (Or 
> any other method?)
>
> TW5/nodejs 5.1.19
> tobibeers/split plugin 0.8.0
>
> Note: I am aware that TW 5.1.20 will have a split operator that retains 
> duplicates, but I'm hoping for a solution in days rather than [*insert TW 
> 5.1.20 release schedule here*].
>
> Regards,
> David
>
>

-- 
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 tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
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/2fa8b904-a989-4820-be4e-8fcb058163cf%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to