I have been trying to get a variable set such that it has the title of current toddler without spaces. I tried following but it did not work...
\define testCreate()
<$set name=test filter=""" <<currentTiddler>> +[join[_]] """>
<<test>>
</$set>
\end
<<testCreate>>
If title of current tiddler is "Hello There Abbey", I was hoping above macro would result in Hello_There_Abbey but it did not.
What am I doing wrong and what can I do to achieve what I am after?
I have been trying to get a variable set such that it has the title of current toddler without spaces. I tried following but it did not work...
\define testCreate()
<$set name=test filter=""" <<currentTiddler>> +[join[_]] """>
<<test>>
</$set>\end
<<testCreate>>
If title of current tiddler is "Hello There Abbey", I was hoping above macro would result in Hello_There_Abbey but it did not.
<$set name="test" filter="[<currentTiddler>split[ ]join[_]]">
<<test>>
</$set><$vars test={{{ [<currentTiddler>split[ ]join[_]] }}}>
<<test>>
</$vars>
<$text text={{{ [<currentTiddler>split[ ]join[_]] }}}/>{{{ [<currentTiddler>split[ ]join[_]] }}}