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 tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. 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/ec2ee0f2-889a-46bc-89d6-36d38405fe5a%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.