Say you have a list with 12 elements... something like... <cfset thelist =
"aa,bb,cc,dd,ee,ff,uu,vv,ww,xx,yy,zz">

What would be the most efficient way to split the list into two lists, one
containing the first 6 elements, the other the last six elements. Currently,
I'm using cfloop to build a 2 new lists and thought there must be a quicker
way.

Thanks, Che




~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:326898
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to