Concatenates two strings.
If the operands are not strings, they are converted to
strings first.
1.8.2 or later.
| Output | ||
| Hello World! | |
| 1+1=2 |
Concatenate two lists or maps. For lists, a new list is created by
appending the right list to the left list. For maps, a new map is
created by first adding the key-value pairs from the left map and then
from the right map. If a key-value pair with the same key exists in
both maps, then the one from the right map overwrites the one from the
left map. If either the left or right value is nil, the other value is returned instead.
1.9.1 or later.
| Output | ||
| [ 1, 2, 3, 4, 5, 6 ] | |
| { a : 1, b : 2, c : 3 } |
| Images 0 | ||
|---|---|---|
| No images to display in the gallery. |
Copyright © 2011 MindTouch, Inc. Powered by