10 Oct
2002
10 Oct
'02
2:10 p.m.
on or about, Thursday, October 10, 2002, we have reason to believe that vsbabu@vsbabu.org wrote something along the lines of : vvo> Quick question: vvo> I've an array ARRAY. How can I print its first (or nth) element in a vvo> ZPT string: expression ? vvo> string: myurl?var=${ARRAY/3} vvo> string: myurl?var=${ARRAY[3]} vvo> string: myurl?var=$ARRAY[3] do a define first : <a tal:define="mySlice python:ARRAY[3]" tal:attributes="href string:myurl?var=${mySlice}"> LINK </a> :) hth -- Geir Bækholt geir@funcom.com Zopatista , tools-developer Product Operations Funcom Oslo