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 2005

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

Search the Archive

Re: substrings at the end of words

  • To: mathgroup at
  • Subject: [mg54999] Re: [mg54960] substrings at the end of words
  • From: Chris Chiasson <chris.chiasson at>
  • Date: Wed, 9 Mar 2005 06:34:24 -0500 (EST)
  • References: <>
  • Reply-to: Chris Chiasson <chris.chiasson at>
  • Sender: owner-wri-mathgroup at

Why not just extract only the ends of the words first, and then only
ed from those?

On Tue, 8 Mar 2005 05:03:45 -0500 (EST), fartous at
<fartous at> wrote:
> a = {"edit", "listed", "called", "wedding"}
> StringCases[a, _ ~~ "ed"]
> Out[]= {{}, {ted}, {led}, {wed}}
> i want to extract only the "ed" string which located only at the end of the
> words, i could not do that using the above code.
> thanks
> jack

Chris Chiasson
Kettering University
Mechanical Engineering
Graduate Student
1 810 265 3161

  • Prev by Date: Re: SQLSelect
  • Next by Date: Re: Re: Re: Why does mathematica randomly rewrite notebooks?
  • Previous by thread: substrings at the end of words
  • Next by thread: Re: substrings at the end of words