From: Carlos Delmar Date: 2006-01-07T08:58:28+09:00 Subject: Re: how remove puts inside method? Thanks Robert! This works beautifull! I have one question though. What exactly does the m[0]? Why zero? def parse(line) line.scan(/"([^"]*)"/).map {|m| m[0]} end -- Posted via http://www.ruby-forum.com/.