On Sun, Sep 21, 2008 at 1:28 PM, jef <[EMAIL PROTECTED]> wrote:

>
> hi
>
> I have a string:
> my_string="blablablabla<coordinates>substring</coordinates>blabla"
>
> I need to extract the sentence beetween "<coordinates>" and "</
> coordinates>"
>
> How can I do that?


Hi, I would recommend using the Hpricot and you can find the documentation
here:

http://code.whytheluckystiff.net/doc/hpricot

Good luck,

-Conrad

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to