Many thanks. That is quite handy. I did use it to discover that the <% -%> syntax doesn't seem to matter anymore. Putting the hyphen before the end tag didn't appear to suppress the "\n" at the end of the line on which it was used. Again, thanks, Wes -- Posted via http://www.ruby-forum.com/.