On Mon, Oct 5, 2009 at 12:00 PM, Claude Schneegans <schneeg...@internetique.com> wrote: > > <cfset thelist ="aa,bb,cc,dd,ee,ff,uu,vv,ww,xx,yy,zz"> > <CFSET st = REFind ("([^\,]*\,){6}", thelist, 1, true)>
I've never tried this before but perhaps you could make this more dynamic by doing something like this: <CFSET st = REFind ("([^\,]*\,){#int(listLen(theList)/2)#}", thelist, 1, true)> Rick ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| 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:326928 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4