String returns

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

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 forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs