concat
Summary
Merges several strings into one string.
Usage
concat( value1, value2 [,...] )
Parameters
| Name | Type | Description | Required |
|---|---|---|---|
| value1 | mixed | A string that should be added. | Yes. |
| value2 | mixed | Another string that should be added. | Yes. |
Returns
A string consisting of all the parameters.
Description
This operator merges several strings into one and returns the resulting string.
Examples
Example 1
{concat( 'what', 'ever' )}The following output will be produced: "whatever".
Example 2
{def $number=256}
{concat( 'The number is: ', $number, '!' )}The following output will be produced: "The number is: 256!"
Comments
Add a comment