On Monday, January 13, 2020 at 3:30:36 PM UTC-8, TonyM wrote:
>
> Is anyone aware of an efficient way to determine the position of a given 
> tiddler name in a list ?
>

How about something like this:
<$list filter="NOMATCH A B C D E +[allbefore<target>count[]] " />


Notes:
* <target> is the title you are looking for
* if target doesn't exist in the list, the result is "0"
* NOMATCH is used as a "sentinel" value so that valid matches start with "1"

Thus, if in the above example
   target="FOO" returns 0
and
   target="A" returns 1
   target="B" returns 2
   etc.

let me know how it goes...

enjoy,
-e

-- 
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/451f2e9d-e7f0-4496-87d2-8a66ccab296b%40googlegroups.com.

Reply via email to