Ok, thats a good start! One more question. Sometimes, a line item will look like this: hello,"goodbye",today
How do I handle the quotes? Is there any java already created for this? Thanks. DRE On 4/26/05, Adam Haskell <[EMAIL PROTECTED]> wrote: > check out java.IO.FileReader and java.IO.BufferedReader > basiaclly you create a filereader object then create a bufferedReader > object by passing it the FileReader object then loop the > bufferedReader...soemthing like this ( complete untested): > <cfscript> > FR = createObject('java','java.IO.FileReader').init("my_file_path.txt"); > BR = createObject('jaja','java.IO.BufferedReader').init(FR); > > while (BR.ready()) > { > writeoutput(BR.readLine()+"<br>"); > } > BR.close() > </cfscript> > > That should get ya a start in the right direction. > > Adam H > > On 4/26/05, DRE <[EMAIL PROTECTED]> wrote: > > Hi, > > I need to upload a delimited file and parse it. > > > > Now I've done this countless times with the usual splitting on the > > return charachters and then the tab chacachter. However, I'm sick of > > doing it!!!! > > > > Now, I know that Java can do this and I know that I can call java > > libraries to do this. Has anybody done this? Is there an existing > > library that is included in the jre so that its available with > > standard hosting packages? > > > > Thanks > > -- > > DRE > > http://www.webmachineinc.com > > http://www.theanticool.com > > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:204469 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54