Services & Resources / Wolfram Forums
MathGroup Archive
*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
  • Subject: [mg76429] Re: [mg76404] little help needed
  • From: Carl Woll <carlw at>
  • Date: Tue, 22 May 2007 02:46:36 -0400 (EDT)
  • References: <>

vasil michev 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
Here is one possibility:

Cases[ParticleData["Baryon"],  s_ /; FreeQ[s, string_String /; ! 
StringFreeQ[string, "Bar"]]]

Carl Woll
Wolfram Research

  • Prev by Date: Re: what are the options for the "String" export format?
  • Next by Date: Plot[], Show[] and ; in Version 6
  • Previous by thread: little help needed
  • Next by thread: Re: little help needed