Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2005
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*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 smc.vnet.net
  • Subject: [mg54999] Re: [mg54960] substrings at the end of words
  • From: Chris Chiasson <chris.chiasson at gmail.com>
  • Date: Wed, 9 Mar 2005 06:34:24 -0500 (EST)
  • References: <200503081003.FAA23265@smc.vnet.net>
  • Reply-to: Chris Chiasson <chris.chiasson at gmail.com>
  • Sender: owner-wri-mathgroup at wolfram.com

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 mail15.com
<fartous at mail15.com> 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