+ (addition)

Tinderbox Icon


Operator Type:   Mathematical
Operator Scope of Action:   Item

The addition operator, + (plus sign character), returns the sum of the arguments before and after it.

$MyNumber = 3+4 

The addition operator + is also the string concatenation operator, used for joining strings. Thus, the expression

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

evaluates a first name "Jane" and last name "Doe" to a string "Jane Doe".


Up: Item-based operators
Previous: * (multiplication)  Next: - (subtraction) 

[Last updated: 14 Dec 2009, using v5.0]

Google search aTbRef for:  

Licensed under Creative Commons Attribution-Noncommercial-Share Alike 3.0 License
[See aTbRef CC licence Attribution/Waiver info info]

Creative Commons License

Made with Tinderbox