7stud -- wrote:
> Roger Pack wrote:
>> Currently
>> 
>>>> "ab\r\nc".lines[0]
>>
> 
> By the way, I don't think there is ever an occasion to write "\r\n" in 
> ruby.  As far as I know, you are going to end up with either:
> 
> 1) "\r\n" - Unix, Mac
> 2) "\r\r\n" - Windows

..neither of which is correct.
-- 
Posted via http://www.ruby-forum.com/.