append

Summary

Returns the input string with a custom sequence appended to it.

Usage

input|append( value1 [, value2 [, ... ] ] )

Parameters

NameTypeDescriptionRequired
value1 mixed Text to be appended. Yes.
value2 mixed More text that should be appended. No.

Returns

A string consisting of the input string and the parameters.

Description

This operator appends the parameter value(s) at the end of the input string and returns the resulting string.

Examples

Example 1

{'The '|append( 'Last ', 'Crusade ' )}

The following output will be produced: "The Last Crusade".

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2013 eZ Systems AS (except where otherwise noted). All rights reserved.