Hi --

Simon Strandgaard <neoneye / adslhome.dk> writes:

> FYI:  I have no idea when this wiping empty tail elements are useful.
> Any ideas ?

Maybe a case like:

  irb(main):006:0> "one two three ".split(" ")
  => ["one", "two", "three"]

(though there you don't need an argument to split at all I guess) or
something like:

  irb(main):016:0> "one!two!three!".split("!")
  => ["one", "two", "three"]


David

-- 
David A. Black
dblack / wobblini.net