Forums / Developer / Remove an element from an array / Comment41270
Eirik Alfstad Johansen
Tuesday 31 August 2004 11:49:01 am
Thanks a lot, Paul. BTW, here's the code I ended up with:
{let newArray=array()} {section loop=$node.object.parent_nodes} {switch match=$:item} {case match=128} {/case} {case} {let newArray=$newArray|append($:item)} {/case} {/switch} {/section} {/let}
Sincerely, Eirik Alfstad Johansen http://www.netmaking.no/