Ok I know that sounds newbish, but I don't want to match the entire
string. I just want to match the first 25 characters or so.

I have a hash that looks like

somestuff[:something]

Now I want somestuff[:something] to equal a string.

somestuff[:something] == 'sadfasdfsdfasdf'

the problem is that somestuff[:something] will never match the entire
string, so I want to match the first 25 characters.

Any ideas...I hope that made sense?
-- 
Posted via http://www.ruby-forum.com/.

--~--~---------~--~----~------------~-------~--~----~
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