Hi all,
I'm trying to parse the contents of a text file, with the ultimate aim of
putting the data in a database table. The text file contains email messages
(which may contain html code), with each new message beginning with the text
'=newmessage=' (minus quotes). I'm trying to use the listappend function
like this:
<cfset agentlist = listappend("agentlist", uploadedagentfile,
"=newmessage=")>
to split the file into individual messages. But, it doesn't seem to be using
the specified delimiter to split the messages. In fact I'm not sure what
it's using. The test file contains three messages but when I try to use
listtoarray and output the array there are 700 odd elements!
Any idea what's going on here? Any better way to do it?
Thanks,
Kay.
______________________________________________________
Kay Smoljak - ColdFusion Developer - PerthWeb Pty Ltd
Internet Solutions for your business!
Level 9/105 St George's Tc - Perth - Western Australia
Ph: (08) 9226 1366 Fax: (08) 9226 1375 Mobile : 0419 949 007
Visit Perth online! : www.perthweb.com.au
Tools for Developers including CFX tags: http://developer.perthweb.com.au
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists