CFLOOP, through list, delimiters help

2003-06-04 Thread coldfusion . developer
Help, I'm trying to extract the e-mail addresses from a text file. Here a sample of the text file and the code I have. Each line is separate by a carriage return. I forget what the symbol for the carraige return is which I need for the delimiter. Any help would be great. Ingar Bae

Re: CFLOOP, through list, delimiters help

2003-06-04 Thread CF Dude
I wrote a simple email parser a while back and instead of the CHR(13) or CHR(10), I used space as my delimiter. Then what I did was look for the @ in each line. If the @ existed, I put it into my list, if it didn't, I ignored that line. Just a suggestion Eric - Original Message -

Re: CFLOOP, through list, delimiters help

2003-06-04 Thread Jerry Johnson
The delimiter you want is probably chr(10) (line feed) Jerry Johnson [EMAIL PROTECTED] 06/03/03 11:51AM Help, I'm trying to extract the e-mail addresses from a text file. Here a sample of the text file and the code I have. Each line is separate by a carriage return. I forget what the

RE: CFLOOP, through list, delimiters help

2003-06-04 Thread Adrian Lynch
Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 03 June 2003 16:51 To: CF-Talk Subject: CFLOOP, through list, delimiters help Help, I'm trying to extract the e-mail addresses from a text file. Here a sample of the text file and the code I have. Each line is separate

Re: CFLOOP, through list, delimiters help

2003-06-04 Thread Ewok
#Chr(13)##Chr(10)# ? - Original Message - From: [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Tuesday, June 03, 2003 8:51 AM Subject: CFLOOP, through list, delimiters help Help, I'm trying to extract the e-mail addresses from a text file. Here a sample of the text file

RE: CFLOOP, through list, delimiters help

2003-06-04 Thread Adrian Lynch
Make that cfloop list=#text#... instead. Ade -Original Message- From: Adrian Lynch [mailto:[EMAIL PROTECTED] Sent: 03 June 2003 17:07 To: CF-Talk Subject: RE: CFLOOP, through list, delimiters help If you're after the emails try cffile variable=text ... cfset crlf = Chr(10) Chr(13