File.readlines('110713_Artikel_Alloga_EAN_GAG_Nummer.csv').each_with_index do |line, i| if i > 0 x = line.split(/;/) print x[4], ";", eval(x[3]).to_s.strip, ";", x[1], "\n" end end