Oh yeah, forgot to attach sample related tiddlers in case anybody wants to 
dive into that and play.



On Monday, September 13, 2021 at 9:40:32 PM UTC-3 Charlie Veniot wrote:

> Although I figure most folk will understand Eric's nice solution, I'll 
> throw mine here anyway, for the giggles.
>
> If anything, you'll see clues that this old sponge of mine operates pretty 
> much way out in left field, or the far side ...
>
> Assuming that  the negative sign is included with the number in every 
> frequency field ...
>
> What we have here, folks, is a dynamically created filter, which totally 
> gets my geek mojo going:
>
> \define bL2() [[
> \define midPart() ]!days:last-contact{
> \define lastPart() !!frequency}]
> \define theCount() +[count[]
>
> ! The result
>
> <$vars thisFilter={{{ [has[frequency]sort[]addsuffix[::]] 
> [has[frequency]sort[]addsuffix[,]] +[sort[]] +[join[]] +[split[::]] 
> +[butlast[]] +[addprefix<bL2>] +[search-replace[,],<midPart>] 
> +[addsuffix<lastPart>] +[join[ ]] }}}>
>
> Count of items: <$count filter=<<thisFilter>>/>
>
> <$list filter=<<thisFilter>>>
>
> </$list>
>
> </$vars>
>
>>
>>>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/0884367f-91f8-443f-88e2-7e2c6aaaca65n%40googlegroups.com.

Attachment: FunkyDynamicCreationOfFilter.json
Description: application/json

Reply via email to