Hi Andrew, well ST only spits out what you give it. So if your template has \n instead of \r\n then you must compare against \n only. Not sure if this helps ;) Ter -- CS Professor & Grad Director, University of San Francisco Creator, ANTLR Parser Generator, http://www.antlr.org Cofounder, http://www.jguru.com