Re: substrings at the end of words
- To: mathgroup at smc.vnet.net
- Subject: [mg55108] Re: substrings at the end of words
- From: Bill Rowe <readnewsciv at earthlink.net>
- Date: Sat, 12 Mar 2005 02:37:07 -0500 (EST)
- Sender: owner-wri-mathgroup at wolfram.com
On 3/11/05 at 4:20 AM, akoz at mimuw.edu.pl (Andrzej Kozlowski) wrote:
>Well, it simply seems like your interpretation of the words:"I want
>to extract only the "ed" string which located only at the end of
>the words", (admittedly not perfectly clear) was and remains
>different from mine. After all, the OP did write "at the end of
>the words". And I can't see what makes you feel he wanted just one
>character before the "ed"?
In the original post an example output was given, specifically
>>>>Out[]= {{}, {ted}, {led}, {wed}}
And since the starting input was given as
>>>>a = {"edit", "listed", "called", "wedding"}
I looked for a solution to go from one to the other.
--
To reply via email subtract one hundred and four