This worked just fine. Thanks. A quick question how can I concatenate with 
a constant string. For example if I want to have a title of the form "Mr 
John Dow", how do I write that. I tried
{{{ "Mr "addsuffix[ ][{temp!!name}addsuffix[ ]addsuffix{temp!!surname}] }}}
and
{{{ [Mr ]addsuffix[ ][{temp!!name}addsuffix[ ]addsuffix{temp!!surname}] }}}
but they didn't work.

On Saturday, March 28, 2020 at 9:41:34 PM UTC, Mohammad wrote:
>
> This is related to concatenation strings and quite alot discussed here! 
> Yes it is confusing!
>
> If you have name in name and surname in surname field of temp tiddler, 
> then to create a concatenated one you have several choice!
> One simple solution is like this
>
> <$vars fullName={{{ [{temp!!name}addsuffix[ ]addsuffix{temp!!surname}] }}}>
> <$button>
> <$action-createtiddler $basetitle=<<fullName>> tags="person" 
> name={{temp!!name}} surname={{temp!!surname}} />
> Create
> </$button>
> </$vars>
>
>
> You will get better solution from geeks here :-)
>
> --Mohammad
>

-- 
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/30e947a4-d322-4ad3-973b-1b105a3f3324%40googlegroups.com.

Reply via email to