Thanks Michael.
-----Original Message-----
From: Tangorre, Michael [mailto:[EMAIL PROTECTED]
Sent: 18 December 2003 11:43
To: CF-Talk
Subject: RE: Detecting a line break.
Check for #chr(13)# #chr(10)# which is the ASCII line break and carriage
return...
Mike
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Thursday, December 18, 2003 6:38 AM
To: CF-Talk
Subject: Detecting a line break.
Hello All,
I'm uploading and reading a CSV file into a variable.
Is it possible to detect where there is a line break ?
Basically the data I am importing may have a line of metadata at the top
(basically just the date it was generated) followed by a blank line, so
what I want to do is to display the first line, skip the blank line and
then get at the data from line 3 onwards (4 if there is a header line as
well).
Can anyone help?
Darren
_____
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]