Hi Annie, Sorry for the confusion on my part. I haven't used StringTemplate yet and so went off in the wrong direction... But luckily, I see that Johannes has proposed a solution for you on the other thread about your question. Michael