|
[Date Index]
[Thread Index]
[Author Index]
Re: from the list select
- To: mathgroup at smc.vnet.net
- Subject: [mg101085] Re: [mg101048] from the list select
- From: Leonid Shifrin <lshifr at gmail.com>
- Date: Tue, 23 Jun 2009 07:08:39 -0400 (EDT)
- References: <200906220823.EAA09375@smc.vnet.net>
Hi,
namedata = {{"Aardsma", "David", "P"},{"Bay", "Jason", "OF"}}
Solutions:
Cases[namedata, {_, _, "P"}]
Select[namedata, #[[3]] === "P" &]
Next time consider reading the documentation first before posting your
question - this one is simple enough to be figured out even by a complete
novice.
Regards,
Leonid
On Mon, Jun 22, 2009 at 1:23 AM, terrie riley <triley4 at san.rr.com> wrote:
> from this list select the person who has P in the third position
>
>
> namedata = {{"Aardsma", "David", "P"},{"Bay", "Jason", "OF"}}
>
>
Prev by Date:
Re: 2 plots in the same Manipulate
Next by Date:
Re: exporting coordinate triplets out of ParametricPlot3D
Previous by thread:
from the list select
Next by thread:
Re: Re: from the list select
|