From: 7stud -- Date: 2009-03-14T21:21:50+09:00 Subject: Re: regular expression / gsub question Milan Dobrota wrote: > You can also do a filename.split(/_/)[1] > > which is probably not that > efficient but you can get all three parts of the string. Do you mean "not that efficient" in the sense that ruby programs are ponderously slow and that isn't? -- Posted via http://www.ruby-forum.com/.