From: Erez Ben shoham Date: 2012-10-15T04:03:18+09:00 Subject: best way to extract data from a string? Hi I have a string str = "file name_Width34.56_Height45.97_.jpg" what is the best way to extract the the data from the string? file name => "file name.jpg" width => "34.56" hieght => "45.97" -- Posted via http://www.ruby-forum.com/.