This is the old documentation center for eZ Publish 4. We are currently migrating the eZ Publish documentation to http://confluence.ez.no the eZ Publish 5 documentation platform. Documentation for the eZ Publish legacy components are still located on this site, as well as all documentation for earlier releases.

repeat

Summary

Returns a repeated version of the input string.

Usage

input|repeat( count )

Parameters

NameTypeDescriptionRequired
count integer The number of repeats. Yes.

Returns

A repeated version of the input string.

Description

This operator returns a repeated version of the input string. The "count" parameter must be used to define the desired number of repetitions.

Examples

Example 1

{'*DJ Cat Show*'|repeat( 2 )}

The following string will be produced: "*DJ Cat Show* *DJ Cat Show* ".

Balazs Halasy (05/02/2004 11:59 am)

Balazs Halasy (04/05/2005 4:45 pm)


Comments

There are no comments.