Caution: This documentation is for eZ Publish legacy, from version 3.x to 6.x.
For 5.x documentation covering Platform see eZ Documentation Center, for difference between legacy and Platform see 5.x Architecture overview.

prepend

Summary

Returns the input string prepended with a custom sequence.

Usage

input|prepend( sequence )

Parameters

NameTypeDescriptionRequired
sequence string The string that should be prepended. Yes.

Returns

A string consisting of the first parameter and the input string.

Description

This operator puts the "sequence" parameter at the start of the input string and returns the resulting string.

Examples

Example 1

{'Weaver'|prepend( 'Sigourney ')}

The following string will be produced: "Sigourney Weaver".

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

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


Comments

There are no comments.