A smart way

.split(“=”).last.gsub(‘[">]’,‘’)

Though, this may not work on more complex examples. :slight_smile:

Regards,

Dan

···

-----Original Message-----
From: daniel [mailto:daniel.daniel@aon.at]
Sent: Saturday, January 11, 2003 6:07 PM
To: ruby-talk@ruby-lang.org
Subject: a smart way…

hello,

I’m new and I’m searching for an smart way to extract
the string ‘daniel’ from this line