Rick

use:

<cfset myList = Replace(myList,",,",", ,")>

Then the two empty items are replaced by items with a single space. Use trim to 
remove it later.

Kevin

---------- Original Message ----------------------------------
From: Rick Root <[EMAIL PROTECTED]>
Reply-To: [email protected]
Date: Thu, 15 Sep 2005 15:09:49 -0400

>In the real world, the following list has 5 items:
>
>"apple,,banana,,orange"
>
>Of course, in Coldfusion, it only has 3.
>
>What are you all doing to work around this kind of thing?
>
>Rick
>
>
>

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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:218479
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

Reply via email to