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".

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