s = <<EOS
a1\t  b1
a2\tb2
EOS

s.each{|e|
    a = e.strip.split("\t")
    p a[1]
}

output:
"  b1"
"b2"

expected output:
"b1"
"b2"

What is wrong?
-- 
Posted via http://www.ruby-forum.com/.