Thanks Saq, Hard to code on ones mobile; Tony K The triple braces and trim and other methods to handle strings in a filter is one of the best ways because unlike other methods it allows you to transform the input to a parameter after its "=" sign, without reverting to other variables or macros.
Regards Tony On Saturday, 9 May 2020 08:29:32 UTC+10, Tony K wrote: > > wow :D > > man you are amazing, been banging my head for like 2 hrs > > thanks > > On Saturday, May 9, 2020 at 1:22:07 AM UTC+3, Saq Imtiaz wrote: >> >> title={{{ [{$:/temp/test!!newEntry}trim[]] }}} >> >> On Saturday, May 9, 2020 at 12:17:21 AM UTC+2, Tony K wrote: >>> >>> the code is really simple >>> >>> <$edit-text tag=input tiddler="$:/temp/test" field="newEntry" /> >>> <$button> >>> <$action-sendmessage $message="tm-new-tiddler" >>> title={{$:/temp/test!!newEntry}} /> >>> New Tiddler >>> </$button> >>> >>> all i want is ignore the space I might add in the input field >>> >>> >>> On Saturday, May 9, 2020 at 1:06:19 AM UTC+3, Mat wrote: >>>> >>>> Could you put up a demo, e.g at tiddlyspot because that "ought to work". >>>> >>>> <:-) >>>> >>> -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/492d63eb-7ce3-4f1a-84bf-3878aaf59c38%40googlegroups.com.