Totally untested and written on my phone, but it should be close: A = listToArray(yourList); Parts = []; while (arrayLen(a) gt 100) { ArrayAppend(parts, a.subList(0, 100)); A = a.subList(100, arrayLen(a)); } Dump(parts);
Cheers, Barneyb -- Barney Boisvert bboisv...@gmail.com http://www.barneyb.com/ On Oct 10, 2009, at 3:47 PM, Chuka Anene <anene.quor...@yahoo.com> wrote: > > I've been looking for this for long now. > What happens when you have a list containing coma-delimited numbers, > say > > "1,2,3,4,....X" > > Where "X" is a number below 5000. > How do you split this list into equal lengths of 100? > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| 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:327086 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4