Thanks dda, Will get onto it and start changing the function, what I posted was a very crude version, I was just trying to initially get the array loop to work.
But looking at your example, it is a lot better and shown me another way of doing it, I'm too used to PHP, where that would work like I wrote (with a better regex match ;)). Thanks Mark _______________________________________________ Unsubscribe or switch delivery mode: <http://www.realsoftware.com/support/listmanager/> Search the archives of this list here: <http://support.realsoftware.com/listarchives/lists.html>
