MathGroup Archive 2000

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

Search the Archive

Testing the Head of List Elements


I'm something of a newbie with Mathematica; please excuse my ignorance.

I am looking for a clever way to select elements from a list based on their
type (Head).  Specifically, I want to extract all the elements of type
dtring from a list of elements of different types (string, number,
character, etc.).

Any suggestions?

--
--------------------------------------------------------------
Marshall Bartlett
Department of Geology and Geophysics
University of Utah
mgb_news at hotmail.com
--------------------------------------------------------------




  • Prev by Date: Re: direction fields for diff eqns in mathematica 3.0?
  • Next by Date: How to display the desired numerical precision?
  • Previous by thread: HTML
  • Next by thread: Re: Testing the Head of List Elements