A simple replace? Could you show me the simple version? How do you deal with "1,2,3,4,,,7,8,9" in a simple manner?
Half the UDFs on cflib.org could be considered 'simple', that doesn't stop them from being useful. Ade -----Original Message----- From: Micha Schopman [mailto:[EMAIL PROTECTED] Sent: 07 March 2005 12:03 To: CF-Talk Subject: RE: ColdFusion ignores empty list elements Lol .. an entire udf for a simple replace function .. euhm ok .. :P Micha Schopman Software Engineer -----Original Message----- From: Adrian Lynch [mailto:[EMAIL PROTECTED] Sent: maandag 7 maart 2005 13:03 To: CF-Talk Subject: RE: ColdFusion ignores empty list elements And here's one to do it for you. Not used it myself but it's description reads like it'll help you. http://www.cflib.org/udf.cfm?ID=507 Ade -----Original Message----- From: Micha Schopman [mailto:[EMAIL PROTECTED] Sent: 07 March 2005 11:59 To: CF-Talk Subject: RE: ColdFusion ignores empty list elements Replace the empty values with a dummy value you can detect before reading the list. Micha Schopman Software Engineer -----Original Message----- From: cf coder [mailto:[EMAIL PROTECTED] Sent: maandag 7 maart 2005 11:56 To: CF-Talk Subject: ColdFusion ignores empty list elements ex: the list "a,b,c,,,d" has four elements How do I force it to not ignore empty elements? I'm getting an error with listGetAt(list,4). Any thoughts? Best regards cfcoder -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.308 / Virus Database: 266.6.2 - Release Date: 04/03/2005 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| 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:197658 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

