ibexa

Caution: This documentation is for eZ Publish legacy, from version 3.x to 5.x.

concat

Summary

Merges several strings into one string.

Usage

concat( value1, value2 [,...] )

Parameters

NameTypeDescriptionRequired
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!"

Balazs Halasy (05/02/2004 10:52 am)

Balazs Halasy (04/05/2005 2:37 pm)


Comments

There are no comments.