MathGroup Archive 2005

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

Search the Archive

string pattern search


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