Skip to the content
Documentation

Just for easy reference:

No ratings yet

You can access an element in an array as follows: (Copied from "variable usage" from the manual)
{def $sentence=array( 'Life', 'is', 'very', 'good!' )}
The 1st element is: {$sentence.0} <br />
The 2nd element is: {$sentence.1} <br />
The 3rd element is: {$sentence[2]} <br />
The 4th element is: {$sentence[3]} <br />
{undef}