-
Notifications
You must be signed in to change notification settings - Fork 1
Concat Operator
Martin Danielsson edited this page Jul 23, 2015
·
2 revisions
Concatenates two strings.
What | Type |
---|---|
Syntax | Concat(a, b) |
a |
any |
b |
any |
Return type | string |
Example: Concat($firstName, Concat(" ", $lastName))
The Concat
operator may also be noted as an infix operation, using the +
operator:
Prefix notation | Infix notation |
---|---|
Concat($this, $that) |
$this + $that |
Concat($FirstName, Concat(" ", $LastName)) |
$FirstName + " " + $LastName |