Yep, that thread's good 'n dead. :-) I don' t think I've seen a thread jumped on so fast since the one about the new Firefox logo.
Good call on listToArray(), Ian, BTW. -Jon On Mar 8, 2007, at 2:40 PM, Jon Clausen wrote: > Deepak, > > You should be able to use: > > <cfset myString = "AB_BC_DE"/> > <cfset myStruct = structNew()/> > <cfloop list="#myString#" index="i" delimiters="_"> > <cfset myStruct[i] = i/> > </cfloop> > > Or you can use listChangeDelims() : http://www.cfquickdocs.com/? > sourceid=cfQDSearch1.02&getDoc=listChangeDelims > > HTH, > > Jon > > On Mar 8, 2007, at 1:19 PM, Deepak Gupta wrote: > >> Hi >> >> I have a string like this >> AB_BC_DE >> >> Now i have to extract AB, BC, DE in seperate variables. How can I >> do that? which function i can use. >> >> >> DG >> >> > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| ColdFusion MX7 by AdobeĀ® Dyncamically transform webcontent into Adobe PDF with new ColdFusion MX7. Free Trial. http://www.adobe.com/products/coldfusion Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:272054 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

