There are two mistakes in this:

<list filter="[subfilter<chrome> splitregexp[\W]!is[blank]first[]]"/>

1. It should be $list.  2. There is a space in front of splitregexp.

Unfortunately, using a subfilter won't allow you to process the tiddlers 
the way you want. You will need a nested loop, with the outer list finding 
the tiddlers and the inner list extracting the first word.



On Monday, October 26, 2020 at 10:41:29 AM UTC-7, Jean-Pierre Rivière wrote:
>
> I have a liste of tiddlers (got with something like filter="[tag[foo]]") 
> of which I want the first word/letter.
>
> For only the last single title I get the first word with 
> filter="[tag[Chrome]last[]splitregexp[\W]!is[blank]first[]]"
>
> Now, how to get it for all the titles, entirely within a single filter if 
> possible (I'd rather avoid a list widget to achieve that)? Definitely 
> something to do with subfilter. But no, I still can't get it. Frustrating. 
> My initial coding:
>
> <$set name="chrome" value="[tag[Chrome]]">
> <list filter="[subfilter<chrome> splitregexp[\W]!is[blank]first[]]"/>
> </$set>
>
>
>

-- 
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/58ee1a3b-176a-47b1-8f5b-ca22610c0103o%40googlegroups.com.

Reply via email to