From: Austin Ziegler Date: 2004-12-08T21:42:31+09:00 Subject: Re: [rcr] String#split behaves odd On Wed, 8 Dec 2004 15:56:01 +0900, trans. (T. Onoma) wrote: > On Wednesday 08 December 2004 12:00 am, Yukihiro Matsumoto wrote: > | I feel it might be difficult. Define the following: > | "abc\n".split("\n").join("\n") > "abc\n".split("\n",-1).join("\n") > => "abc\n" > Make default behavior -1. No. Most of the time, I don't actually *want* all the extra crap when I split. This change would break a lot of code silently. -austin -- Austin Ziegler * halostatue@gmail.com * Alternate: austin@halostatue.ca