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

substrings at the end of words

  • To: mathgroup at smc.vnet.net
  • Subject: [mg54960] substrings at the end of words
  • From: fartous at mail15.com
  • Date: Tue, 8 Mar 2005 05:03:45 -0500 (EST)
  • Sender: owner-wri-mathgroup at wolfram.com

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


  • Prev by Date: coloring only some substring
  • Next by Date: BS PDE
  • Previous by thread: coloring only some substring
  • Next by thread: Re: substrings at the end of words