how about a where clause...

for each $item in $array where $item<>""
? $item
next
_________________________
How to ask questions the smart way <-----------> Before you ask