Mathematica 9 is now available
Services & Resources / Wolfram Forums
MathGroup Archive
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2007

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Iterate through a list help

  • To: mathgroup at
  • Subject: [mg77352] Re: Iterate through a list help
  • From: chuck009 <dmilioto at>
  • Date: Thu, 7 Jun 2007 03:48:48 -0400 (EDT)

Just pick out the first element in each sub-list:


newlist=First /@ list


  • Prev by Date: Re: comments
  • Next by Date: Re: Version 6.0 Problems
  • Previous by thread: Re: Iterate through a list help
  • Next by thread: modify elements of arb.dimensionality matrices