MathGroup Archive 2005

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

Search the Archive

string pattern search

  • To: mathgroup at smc.vnet.net
  • Subject: [mg57305] string pattern search
  • From: zak <chocolatez at gmail.com>
  • Date: Tue, 24 May 2005 05:12:42 -0400 (EDT)
  • Reply-to: zak <chocolatez at gmail.com>
  • Sender: owner-wri-mathgroup at wolfram.com

Hi
how to search for the pattern "abc" in the string "aiibbaecXXacarbiiicc"
and the letters space between a,b,c is not important, so the output will be:
1-when overlapping not allowed:
{aiibbaec},{acarbiiic}
2-and when we consider overlapping:
{aiibbaec},{aecXXacarbiiic},{acarbiiic},{arbiiic}

regards


  • Prev by Date: Re: plot hyperbola
  • Next by Date: plot hyperbola
  • Previous by thread: Re: Log function
  • Next by thread: Re: string pattern search