I had that ideas as well - but it was one more thing that fell into "if only I had time" pile. ;)
Of course, you really only have 2 options for CSV* 1) Replace nulls with a chr. You have to gaurantee that chr does not exist in the line. That's kind of bad. What's nice about this is that it's quick. See ListFix. At the same time, if this is an ok solution, why do we need CSV*? Why not just use ListFix? 2) Don't replace nulls with a char. Manually walk through the string. Good - no need to figure out another character to use. Bad - slower than listfix. (I would assume.) Thoughts? ======================================================================= Raymond Camden, Principal Spectra Compliance Engineer for Macromedia Email : [EMAIL PROTECTED] Yahoo IM : morpheus "My ally is the Force, and a powerful ally it is." - Yoda > -----Original Message----- > From: Ben Forta [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, May 01, 2002 2:25 PM > To: CF-Talk > Subject: RE: CF Wishlist > > > For what it is worth, those functions were designed to > simplify working > with HTML form fields and the like where empty fields are > irrelevant. I > am neither defending or arguing with the original design, but the fact > of the matter is most of us use lists not the way they were intended. > > Problem is, think of how much existing code would break if that were > changed. The truth is it would be too dangerous to change at > this point. > > But, there is no reason we could not create replacement list > functions. > I propose we create parallel functions for every list function, call > these CSVList...() instead of List...(), so ListGetAt() would map to > CSVListGetAt(), ListFirst() would map to CSVListFirst(), and so on. > Would be easy to write. > > Anyone? :-) > > --- Ben > > > -----Original Message----- > From: David Schmidt [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, April 30, 2002 12:42 PM > To: CF-Talk > Subject: CF Wishlist > > > Ok, > > Have carefully considered what I want from CF, the most > striking feature > I want to see is... > > "Stop treating empty list items as null." That is a list of > "3,5,,,3,2,2" should have a length of 7, instead of 5. Doing > this would > nearly eliminate the need for any field names like name="cost_#i#", > since HTML sends back "3,5,,,3,2,2" for duplicate text fields named > "cost" anyways. > > > > ______________________________________________________________________ Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/[email protected]/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

