OK, I finally found the solution myself:

<$set name=contact value={{!!kontakt}}>

<$list filter="[<contact>splitregexp[, ]]" variable="item">

<<list-links filter:"[regexp:kuerzel<item>sort[title]]">>

</$list>

</$set>


Am Donnerstag, 18. Juni 2020 10:33:41 UTC+2 schrieb Guido B:
>
> Hi
>
> I'm still new to TW and I continue to struggle with the filter syntax. 
> Here is what I try to achieve: 
>
>
>    - I use TW to jot down notes during conversations
>    - I use a custom field ("kontakt") to record who has attended a meeting
>    - For that purpose I use an abbreviation of the persons names, eg. 
>    "SSC, DKR, HMF" ( a comma-delimited list)
>    - For each person I have a tiddler with the full name of the person as 
>    its title
>    - The abbreviated name is in a custom field named "kuerzel"
>    - I would now like to append to each note a list of the attendees
>
> What I was able to do was to use the following to list the attendee when 
> only one person attended:
>
> Code hier eingeben...
> <$set name=kurzzeichen value= {{!!kontakt}}>
>
> <<list-links filter:"[regexp:kuerzel<kurzzeichen>sort[title]]">>
>
> </$set>
>
> How can I generalized this when more than one person attended? I know that 
> I have to somehow split the field "kontakt" into its parts (something like 
> [[<kurzzeichen>]split[, ]]) and than to use the items of this newly created 
> array to do the regexp-stuff. To be honest, I have, even after studying the 
> various explanations and examples and googleing for hours, not the 
> slightest idea of how to achieve this. So any hints would very much be 
> appreciated!
>
> Thanks, Guido
>

-- 
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/49a7f410-b560-4229-b6f3-70728bc88567o%40googlegroups.com.

Reply via email to