the line terminator is a system property
-----Original Message-----
From: [EMAIL PROTECTED] [SMTP:[EMAIL PROTECTED]]
Sent: Monday, December 04, 2000 11:41 AM
To: [EMAIL PROTECTED]
Subject: Platform independent formatting
Hi,
Just wondering if anyone had any thoughts about
using templates that are produced on one platform
and generating output on another.
My example is line endings. In Torque I chop off
commas and line endings in the generated SQL, but
I am assuming unix style line endings. Just wondering
if anyone has a more elegant tactic then converting
all the text to be operated on to unix style line
endings before operating on the text. Or possibly
make a chomp() type method as in perl that removes
line endings in a platform independent manner.
jvz.
