From: Tom Werner Date: 2006-07-22T06:20:04+09:00 Subject: Re: splitting a string separated by CRLF into array dominique.plante@gmail.com wrote: > Thanks! (I like your book BTW - I like how it touches on main, Kernel > stuff, etc...) > > I was trying "hello\r\n\world".split('\r\n') and it returned > ["hello\r\nworld"] > > > You need to use a double quoted string in order for those escaped characters to be interpereted as such. Tom -- Tom Werner Helmets to Hardhats Software Developer tom@helmetstohardhats.org www.helmetstohardhats.org