[stringtemplate-interest] Remove carriage returns

brian.kejser at protexis.com brian.kejser at protexis.com
Wed Jan 24 09:59:38 PST 2007


Hi

In order to make a template human readable during editing I need to
include both carriage returns and line feeds in the document. When
rendering the template I need all carraige returns removed or the consumer
of the output throws an error. I currently render the template then do a
string replace to resolve this issue.

Is there a cleaner way? That is, can I instruct the template engine to
drop all carriage returns during rendering?

Thanks







More information about the stringtemplate-interest mailing list