Testing the Head of List Elements
- To: mathgroup at smc.vnet.net
- Subject: [mg25200] Testing the Head of List Elements
- From: "Marshall Bartlett" <mgb_news at hotmail.com>
- Date: Fri, 15 Sep 2000 02:21:40 -0400 (EDT)
- Organization: University of Utah
- Sender: owner-wri-mathgroup at wolfram.com
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 --------------------------------------------------------------
- Follow-Ups:
- Re: Testing the Head of List Elements
- From: Ken Levasseur <Kenneth_Levasseur@uml.edu>
- Re: Testing the Head of List Elements