From: dblack@... Date: 2006-07-22T05:28:41+09:00 Subject: Re: splitting a string separated by CRLF into array Hi -- On Sat, 22 Jul 2006, dominique.plante@gmail.com wrote: > How can I get the array > > ["hello", "world", "123"] > > from the string > > "hello\r\nworld\r\n123" str.split("\r\n") David -- http://www.rubypowerandlight.com => Ruby/Rails training & consultancy http://www.manning.com/black => RUBY FOR RAILS (reviewed on Slashdot, 7/12/2006!) http://dablog.rubypal.com => D[avid ]A[. ]B[lack's][ Web]log dblack@wobblini.net => me