This thread has what I needed: https://www.mail-archive.com/[email protected]/msg91214.html
On Thursday, December 10, 2020 at 6:19:09 PM UTC-7 Eric Shulman wrote: > On Thursday, December 10, 2020 at 5:05:04 PM UTC-8 [email protected] > wrote: > >> There is a pad[] filter operator in the very soon to be released TW 5.1.23 > > > prior to TW5.1.23, padding can be done using split[] and join[], like this: > > <$vars num="12"> > {{{ [<num>addprefix[00000]split[]last[5]join[]] }}} > <$vars> > > The resulting output is "00012". Note that if the num value has more than > 5 digits, it will be truncated to only show the last 5 digits. > > -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/58ed2237-aa0a-415b-ad27-4d2560cdd247n%40googlegroups.com.

