From: "Bartosz DziewoƄski" Date: 2011-08-12T03:12:59+09:00 Subject: Re: parsing xml string into seprate line of string If you just want to split string by lines, abc.split(/\r?\n/) should do the trick. If what you actually want is to parse the XML data, I suggest using an actual XML parser - Nokogiri, if you are doing some heavy lifting, or xml-simple for, well, simple things. -- Matma Rex