This version is out of date, covering development from v7.0.0 to v7.5.6. It is maintained here only for inbound reference links from elsewhere. It is no longer actively updated.

Jump to the current version of aTbRef

Tinderbox 7 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]

 Baseline

 


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.