Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2007
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2007

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

Search the Archive

Re: little help needed

  • To: mathgroup at smc.vnet.net
  • Subject: [mg76418] Re: little help needed
  • From: David Reiss <dbreiss at gmail.com>
  • Date: Tue, 22 May 2007 02:40:52 -0400 (EDT)
  • References: <f2rrkt$a6b$1@smc.vnet.net>

DeleteCases[
 ParticleData["Baryon"], {___} | _?(StringMatchQ[#, "*Bar*"] &)]

On May 21, 6:18 am, vasil michev <mic... at gmail.com> wrote:
> How do i delete everything that has "Bar" in it from
>
> DeleteCases[ParticleData["Baryon"], {___}]
>
> its not string so I cant do it in the usual way, regexp doesnt seem to
> work either




  • Prev by Date: Re: Number of Differing Digits & Another Problem (want to see different
  • Next by Date: Re: what are the options for the "String" export format?
  • Previous by thread: Re: little help needed
  • Next by thread: Re: little help needed