Re: from the list select
- To: mathgroup at smc.vnet.net
 - Subject: [mg101089] Re: from the list select
 - From: Bill Rowe <readnews at sbcglobal.net>
 - Date: Wed, 24 Jun 2009 06:28:22 -0400 (EDT)
 
On 6/22/09 at 4:23 AM, triley4 at san.rr.com (terrie riley) wrote:
>from this list select the person who has P in the third position
>namedata = {{"Aardsma", "David", "P"},{"Bay", "Jason", "OF"}}
In[2]:= Cases[namedata, {_, _, "P"}]
Out[2]= {{"Aardsma", "David", "P"}}