This version is out of date, covering development from v5.0.0 to v5.12.2. It is maintained here only for inbound reference links from elsewhere.

Jump to the current version of aTbRef.

Tinderbox Icon

+ (concatenation)


Operator Type: 

Operator Scope of Action: 

Operator Purpose: 

Operator First Added: 

Operator Altered: 

 Operator   [other Operator type actions]

 Item   [operators of similar scope]

 Mathematical   [other Mathematical operators]

 Already in v5.0.0

 


The concatenation operator, + (plus sign character), joins the strings/references/expressions before and after it. Thus, the expression

$FullName = "$FirstName"+" "+"$LastName" 

evaluates a first name "Jane" and last name "Doe" to give a string value "Jane Doe" for the FullName attribute.

The + sign is also used for numerical addition. Depending on context, Tinderbox will decided which operation is intended by the + sign. This is a very good reason to always enclose literal text strings in quotes.


Possible relevant notes (via "Similar Notes" feature):


A Tinderbox Reference File : Actions & Rules : Operators : Action Operator Functional Types : Operator actions : + (concatenation)