CFLIB is your friend.

http://www.cflib.org/udf.cfm?ID=1022





-----Original Message-----
From: Daniel Kessler [mailto:[EMAIL PROTECTED] 
Sent: 29 June 2005 15:44
To: CF-Talk
Subject: listtoArray blank entries

<!--- 17 entries --->
<cfset myvar = 'Produce|Apples |"green, bagged"|1.23/lb||||3 lb|1|0 
g|0 mg|0 mg|22 g|5 g|16 g|0 g|2%'>
<cfset myAr = listToArray(myVar,"|")>
<!--- outputs --->
#arrayLen(myAr)#

How do I make it an array that includes all the entries?  This messes 
up my indexing.  I only want it to keep an empty entry or empty 
quotes.  I'll be lining up 1 through 17 for manipulation and then 
inserting into a db and it's all by index.
-- 

Daniel Kessler

Department of Public and Community Health
University of Maryland
Suite 2387 Valley Drive
College Park, MD  20742-2611
301-405-2545 Phone
www.phi.umd.edu



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