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.
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
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!!new
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
all i want is ignore the space I might add in the input field
On Saturday, May 9, 2020 at 1:06
Tony
Best you share some code for us to look at. Try and replicate on tiddlywiki.com
It can all depend how you reference the value. Of you set a variable to a text
reference it should work but using triple braces and trim if needed.
Regards
Tony
--
You received this message because you are su
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.
I tried it didn't work 😔 dunno what I am missing
--
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
https://tiddlywiki.com/prerelease/#trim%20Operator
<:-)
--
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 disc
8 matches
Mail list logo