Re: List Manipulation
- To: mathgroup at smc.vnet.net
- Subject: [mg63513] Re: List Manipulation
- From: David Bailey <dave at Remove_Thisdbailey.co.uk>
- Date: Tue, 3 Jan 2006 01:26:17 -0500 (EST)
- References: <dpb0t5$2j3$1@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
LectorZ wrote: > Hi guys, > > One simple question to list manipulation. > > I have 2 lists > > list1 = {{a,b,c,d},{e,f,g,h}} > list2 = {{1},{2}} > > Which function(s) should I use to get > > list3 = {{a,b,c,d,1},{e,f,g,h,2}} > > Thanx in advance > > LZ > Hello, Try: Map[Join @@ # &, Transpose[{list1, list2}]] David Bailey http://www.dbaileyconsultancy.co.uk