A
Aron Griffis
I've just noticed the following. When using Ruby 1.6, I get the
following String.split behavior:
irb(main):001:0> "".split(//,2)
[""]
And when using Ruby 1.8, I get the following instead:
irb(main):007:0> "".split(//,2)
=> []
Is this intentional?
Thanks,
Aron
following String.split behavior:
irb(main):001:0> "".split(//,2)
[""]
And when using Ruby 1.8, I get the following instead:
irb(main):007:0> "".split(//,2)
=> []
Is this intentional?
Thanks,
Aron