Re: Another question on lists
- To: mathgroup at smc.vnet.net
- Subject: [mg80699] Re: Another question on lists
- From: chuck009 <dmilioto at comcast.com>
- Date: Wed, 29 Aug 2007 04:17:56 -0400 (EDT)
Do it in steps first: 1. Get the lengths of all the sub-lists: Length[#]& /@ myList 2. Find the maximum of those lengths: Max[Length[#]& /@ myList] 3. Now apply Select with that maximum value: Select[myList, Length[#] == Max[Length[#] & /@ myList] &]