开发者

Getting the first element of the array in Dwoo

开发者 https://www.devze.com 2023-02-07 10:14 出处:网络
I\'m using template engine called Dwoo. How get the fir开发者_JAVA百科st element of the array without a loop?{assign array(\"Bob\" \"John\") users}

I'm using template engine called Dwoo. How get the fir开发者_JAVA百科st element of the array without a loop?


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

Dwoo Wiki

0

精彩评论

暂无评论...
验证码 换一张
取 消