input|remove( offset, length )
Name | Type | Description | Required |
---|---|---|---|
offset | integer | The offset to start at. | Yes. |
length | integer | The number of characters that should be removed. | Yes. |
This remove operator removes characters from the input string and returns the pruned version. The "offset" and "length" parameters must be used to define the start and length of the portion that should be removed.
'My string is simple.'|remove( 3, 2 )
The following string will be produced: "My ring is simple.".
Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2013 eZ Systems AS (except where otherwise noted). All rights reserved.