Mal,

This is really short and beautiful, I don't understand the logic!

--Mohammad

On Saturday, February 16, 2019 at 7:26:33 AM UTC+3:30, 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/73580a2d-92ea-4bd1-9f53-569e03e74928%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to