Try this:
```
<$list filter="[tag[Song]sort[]] :filter[get[year]prefix[198]]">

</$list>
```
On Sunday, July 9, 2023 at 3:59:21 PM UTC-7 odda...@gmail.com wrote:

> How about listing fields whose value has a specific prefix?
>
> Right now I have a list filter that looks like this:
>
> <$list filter="[field:year[1980]] [field:year[1981]] [field:year[1982]] 
> [field:year[1983]] [field:year[1984]] [field:year[1985]] [field:year[1986]] 
> [field:year[1987]] [field:year[1988]] [field:year[1989]] 
> +[tag[Song]get[title]sort[title]]">
>
> It would be so much nicer if I could do something like:
>
> <$list filter="[field:year][prefix[198]][tag[Song]get[title]sort[title]]">
>
> I'll even take any suggestion that lets me use a list or range of years 
> instead of having to specify each one with its own [field:year[]] wrapper.
>
> Thanks,
> Todd
>
>
>
> On Saturday, July 20, 2019 at 2:34:26 AM UTC-5 Sebastian Ovide wrote:
>
>> great thanks !
>>
>>
>> On Saturday, 20 July 2019 02:20:04 UTC+1, Mark S. wrote:
>>>
>>> Example of fetching fields and values in current tiddler where field 
>>> name starts with "my" :
>>>
>>> <$list filter="[all[current]fields[]prefix[my]]" variable="field">
>>> <$list filter="[all[current]get<field>]" variable="value">
>>> <<field>> : <<value>> <br/>
>>> </$list>
>>> </$list>
>>>
>>> On Friday, July 19, 2019 at 5:19:38 PM UTC-7, Sebastian Ovide wrote:
>>>>
>>>> Hello
>>>>
>>>> I have a tiddler with several fields. Some have a specific prefix. Is 
>>>> it possible to list them ?
>>>>
>>>> example
>>>>
>>>> tiddler!!prefix_aaa, tiddler!!prefix_bbb, tiddler!!prefix_ccc
>>>>
>>>> thanks
>>>>
>>>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/68c4b6d9-9a35-4f48-9810-58ba0166eaafn%40googlegroups.com.

Reply via email to