On Thu, Jan 7, 2010 at 10:10 AM, Pale Horse <li...@ruby-forum.com> wrote: > Example A: "Example One" > > What I need is a string method to remove " One" from that string so the > result is just "Example". > > I'm sure this is very simple but I just require a swift response. How about "Example One".split?
--wpd
-- 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 rubyonrails-t...@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.