Re: Clever way to manipulate lists
- To: mathgroup at smc.vnet.net
- Subject: [mg94452] Re: Clever way to manipulate lists
- From: "Nasser Abbasi" <nma at 12000.org>
- Date: Sun, 14 Dec 2008 07:34:48 -0500 (EST)
- References: <ghqjve$14i$1@smc.vnet.net> <ghtjbj$r6k$1@smc.vnet.net>
- Reply-to: "Nasser Abbasi" <nma at 12000.org>
"David Bailey" <dave at removedbailey.co.uk> wrote in message news:ghtjbj$r6k$1 at smc.vnet.net... >> > Since list2 is included in list1, surely the answer is > > list1=list2; > > Put another way, I don't think I understand what you want to do! > > David Bailey > http://www.dbaileyconsultancy.co.uk > He wanted the order of elements to remain the same. This problem is easy to solve using Mathematica set operations, except the order of element will change within a set. Nasser