David,

Depending on the context of the data, you can simulate the required
behavior by replacing instances of double commas with a comma followed
by a space (or any character you desire) followed by another comma.

For example:
Replace("3,5,,,3,2,2", ",,", ", ,", "ALL")

You could also use a RegEx replacement if you want a little more control
over how the replacement is done.

-Dan

> -----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.
> 
> 
> 
______________________________________________________________________
Get the mailserver that powers this list at http://www.coolfusion.com
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

Reply via email to