File.readlines('Items.csv').each_with_index do |line, i| if i > 0 x = line.split(/;/) print x[1], "\n" #p x end end