hi thanks for your reply i going to try it what i want is that is just 
prints it in

    puts "Name: #{@data[0]} #{@data[1]}"
    puts "Callname: #{@data[2]}"
    puts "Age: #{@data[3]}"

data0 = name
data1 = lastname
data2 = callname
and data3 = age

and thats what i want to call from the txt file

-- 
Posted via http://www.ruby-forum.com/.