Addition (+)

Airkit supports the standard addition operator +. It is used to add Numbers as well as combine Text.

Examples

Adding Numbers

The following example shows how the addition operator is used to combine the Numbers 2 and 3 together. Note that it returns a another Number: 5, the sum 2 and 3:

2 + 3 -> 5

Adding Text

The following example shows how the addition operator is used to combine the strings "abc" and "def". Note that it returns another string: "abc" and "def" concatenated together:

"abc" + "def" -> "abcdef"

When adding strings together, the addition operator behaves analogously to the CONCAT function.

Last updated