input|extract_right( length )
Name | Type | Description | Required |
---|---|---|---|
length | integer | The number of elements that should be extracted. | Yes. |
This operator extracts a portion from the end of the input array. The "length" parameter must be used to specify the number of elements that should be extracted.
{array( 1, 2, 3, 4, 5, 6, 7 )|extract_right( 3 )}
The following array will be returned: ( 5, 6, 7 ).
Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2013 eZ Systems AS (except where otherwise noted). All rights reserved.