Randi - Based on how I read the question, the existing array and desired list had nothing in common, other than the length of elements.
On Wed, Jul 29, 2009 at 9:56 AM, Randi Knutson <[email protected]> wrote: > > Everyone had interesting solutions, but I wonder why you just wouldn't use > ArrayTolist() > > > [email protected] on Wednesday, July 29, 2009 at 9:27 AM -0700 > wrote: > > > >hi > > > >we need to create a list of the string VarChar i.e. > >"VarChar,VarChar,VarChar" > > > >the amount of list elements is totally dependant on the length of another > >array which could change. > > > >e.g. if theArray length is 3 then the list would be > >"VarChar,VarChar,VarChar" else if theArray length is 5 then the list > >would be "VarChar,VarChar,VarChar,VarChar,VarChar" etc... > > > >is there a function to do this in a line of code > > > >thanks > > > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| 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:325084 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

