MathGroup Archive 2000

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

Search the Archive

extracting elements from a list?

  • To: mathgroup at
  • Subject: [mg25379] extracting elements from a list?
  • From: Ryan VanRiper <ravanrip at>
  • Date: Sun, 24 Sep 2000 16:29:12 -0400 (EDT)
  • Sender: owner-wri-mathgroup at

Hi,  I have a question about extracting particular elements in a list.

If i have the list {v$2332Period, v$2334Period, v$1231MaxAccel}

How would i go about searching through this list and returning a new
list that has only elements with the word "Period" in them.

So the answer im looking for using the above list would be:

newlist = {v$2332Period, v$2334Period}


  • Prev by Date: Integrate[[1/(1+x+x^5),{x,-Infinity,Infinity}]
  • Next by Date: Linux/Unix add-ons
  • Previous by thread: Re: Integrate[[1/(1+x+x^5),{x,-Infinity,Infinity}]
  • Next by thread: Re: extracting elements from a list?