From: xcoder Blue_fox Date: 2013-07-04T21:59:18+09:00 Subject: Split string hey Guys i need to split this query to string array how contains three strings : query = "Get /index.html HTTP/1.0\r\n\r\n" query += "Host: www.example.com\r\n" query += "Connection: Close\r\n\r\n" i want to get result like array[0] >>> Get /index.html HTTP/1.0 array[1] >>> Host: www.example.com array[2] >>> Connection: Close -- Posted via http://www.ruby-forum.com/.