From: "A. Mcbomb" Date: 2010-12-14T03:41:55+09:00 Subject: Substituting New Line Character I have a bunch of text that I need to inject a newline character. In my code, I found a way to put a "\r" where I want the carriage return but it doesn't work. I also tried "\n" and that doesn't do it either. What character should I inject to make this text go to the next line where I currently have the "\r" ? -------------------text ------------------------ Avalon Bay Communities -66 Glenbrook Road No. 200 Stamford,-CT-06902 , (203) 357-0986\rAvalon Grove Luxury Apartments -180 Broad Street No. 1227 Stamford,-CT-06901 , (203) 921-1796\rAvalon Harbor Apartments -150 Sfield Avenue Stamford,-CT-06902 , (203) 324-0300 ------------------------------------------------- thanks atomic -- Posted via http://www.ruby-forum.com/.