Re: ReplaceAll and BlankNullSequence
- To: mathgroup at smc.vnet.net
- Subject: [mg100541] Re: ReplaceAll and BlankNullSequence
- From: Bob F <deepyogurt at gmail.com>
- Date: Sun, 7 Jun 2009 05:02:27 -0400 (EDT)
- References: <h0d6tt$sqe$1@smc.vnet.net>
On Jun 6, 1:47 am, Philip R Dutton <fooledbypri... at gmail.com> wrote:
> I keep getting {1} when I try to do a simple replacement with this code:
>
> {kevinbacon, iscool} /. {x___, iscool} -> {x}
>
> Why doesn't the output show {kevinbacon} ???
>
> I am so confused...
>
> Thanks for the help!!!
Works fine on Mac OS X version 7.0.1 -- what version are you doing
this on?
-Bob