Wednesday, May 23, 2012

How to retrieve a GUID and value from a string in ruby

I have a string like this in Ruby



word=0 id=891efc9a-2210-4beb-a19a-5e86b2f8a49f


How can I get both the word and id values from that string?





No comments:

Post a Comment