Just add them with addsuffix
$basetitle={{{ [{!!firstname}addsuffix[ ]addsuffix{!!middlename}addsuffix[
]addsuffix{!!lastname}] }}} ...
In case Google breaks these lines, the new, added *addsuffix* operators
have a space inside them.
On Monday, December 28, 2020 at 11:14:15 AM UTC-8 [email protected] wrote:
> Thank you sir! I have now officially tried 175 different combinations of
> brackets and action-options! lol
>
> I had not seen the addsuffix before. I just tried several variations of
> it, all of which break everything when I attempt to add spaces between
> names. Is there a simple/easy way of accomplishing this? Worst case I will
> leave it as is and the names will be squished (FirstMiddleLast) but spaces
> would be better, as long as it does not involve trigonometry...
>
> On Monday, December 28, 2020 at 12:45:11 PM UTC-6 Mark S. wrote:
>
>> You don't mention which approach you are using to create the tiddler. But
>> if it were action-createtiddler, then your $basetitle attribute might look
>> like this:
>>
>> ... $basetitle={{{
>> [{!!firstname}addsuffix{!!middlename}addsuffix{!!lastname}] }}} ...
>>
>>
>> On Monday, December 28, 2020 at 10:32:32 AM UTC-8 [email protected] wrote:
>>
>>>
>>> I'm experimenting. So far I have been able to take input from three
>>> fields, assign them to $:/state... and then press a button which creates a
>>> new tiddler. The new tiddler contains three fields w/ the content I
>>> originally entered as values.
>>>
>>> But how can I merge these three fields and make *that* the title of the
>>> new tiddler?
>>>
>>> This is the part that has so far eluded me...
>>>
>>> Assume the fields are firstname, middlename, lastname...
>>>
>>
--
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/e3ab2ecf-d82b-40ff-8056-e8cb0445a8f7n%40googlegroups.com.