DervishD wrote: > Unfortunately the original data is not in an array :( Will this > work?: > > olddata=(${(f)olddata)) > olddata=(${olddata:#...}) Yes, you should be able to combine them along the lines of ${${(f)olddata}:#...} pws This message has been scanned for viruses by BlackSpider MailControl - www.blackspider.com