From: timsuth@... (Tim Sutherland) Date: 2002-01-19T07:19:13+09:00 Subject: Re: Chopping and chomping to no avail In article , Michael Hayes wrote: [...] >chomp won't remove the last char from an >unterminated line, but it only works on one >type of record separator, so it won't handle >\n and \r\n at the same time. [...] "foo\r\n".chomp("\r\n") works for me (Ruby 1.6.4.) -- Earth -- mother of the most beautiful women in the universe. -- Apollo, "Who Mourns for Adonais?" stardate 3468.1