Question

I'm using template engine called Dwoo. How get the first element of the array without a loop?

Was it helpful?

Solution

{assign array("Bob" "John") users} {$users.0}

Dwoo Wiki

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top