Forum: Ruby on Rails String returns

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Palani K. (Guest)
on 2008-11-20 11:10
Hi,
      my output String is =>contact(name).From this output, i want to do
is get "name" alone from the output.How can i achieve this can anyone
please tell me
Thani A. (Guest)
on 2008-11-21 05:46
Palani K. wrote:
> Hi,
>       my output String is =>contact(name).From this output, i want to do
> is get "name" alone from the output.How can i achieve this can anyone
> please tell me

output =~ /\(\w+\)/
name=$&
This topic is locked and can not be replied to.