That's very clever. Splitting on "nothing". And apparently, somewhat 
surprisingly, the resulting array doesn't collapse like it frequently does 
in filters.

-- Mark

On Friday, February 15, 2019 at 7:56:33 PM UTC-8, Mal wrote:
>
> This seems to work in tiddlywiki.com/prerelease/: 
> <https://tiddlywiki.com/prerelease/>
>
> <$vars number="256" length="5">
> {{{ [<number>addprefix[000000]split[]last<length>join[]] }}}
> </$vars>
>
>
> Note that it will left truncate the number if it is already longer than 
> the desired length.
>
> Mal
>
>

-- 
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 post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/50f4a9e0-98d9-4e6d-a41e-06846222fa64%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to