Victor, I'm using the ostermiller CSVWriter, and I am very happy with it. I'm having trouble understanding exactly what your problem is. Can you share some relevant code?
Jon On Apr 4, 2005 12:58 PM, Victor Moore <[EMAIL PROTECTED]> wrote: > Actually it's a little bit more complicated than this. > The com.Ostermiller.util.ExcelCSVParser utility returns a Java array > which is has a Vector type and not the coldfusion array type. > Unfortunately (and something that I cannot explain) some lines that > have empty fields are not pick up. > I need something to dynamically resize the java array (the java array > doesn't have a resize feature to force ) or cast it to a cf array > type. > > thanks > Victor > > > On Apr 4, 2005 10:36 AM, Kerry <[EMAIL PROTECTED]> wrote: > > this will probably be because CF ignores empty list elements. > > there might be some kind of a split function on cflib.org > > > > > > -----Original Message----- > > From: Victor Moore [mailto:[EMAIL PROTECTED] > > Sent: 04 April 2005 15:14 > > To: CF-Talk > > Subject: CSV file and com.Ostermiller.util.ExcelCSVParser > > > > I am using com.Ostermiller.util.ExcelCSVParser with great succes to > > parse csv files. There is only one small problem that I can't figure > > out.If there are any empty columns in the file they are not picked up > > and as a result the parsing process is failing. > > > > The work around is to open the file in excel and run a replace all > > (for empty string with a space). Unfortunately this is used by end > > users and for some reason they don't do it ... > > > > Is any way to do it programmatically? > > > > Thanks > > Victor > > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:201450 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=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54