K
Kurt Euler
Can anyone confirm that the way to parse a tab-delimited line in a text file in Ruby 1.8 is still as follows:
IO.foreach("./control/control_sp#{sp_num}.txt") { |x|
field = x.chop.split("\t")
Thanks.
-ke
IO.foreach("./control/control_sp#{sp_num}.txt") { |x|
field = x.chop.split("\t")
Thanks.
-ke