From: Luca Scaljery Date: 2006-11-19T21:15:55+09:00 Subject: How to put array into variables Hi All I tried to put an array into variables like this s, h = b.scan(/^(\w+)\s(\w+)$/) But for some reason 's' becomes an array and 'h' is undefined!! Any suggestions how to put the first result in 's' and de second in 'h' ? Thnx a lot LuCa -- Posted via http://www.ruby-forum.com/.