From: Roger Reeks Date: 2008-10-16T20:56:29+09:00 Subject: extract lines from text file and place in an array hi i was wondering if anyone cud help i have this code to read from a text file def readftxt in=IO.read("input.txt") end how could i adapt it so if multiple lines are entered it could place each line in an array? thanks for any help -- Posted via http://www.ruby-forum.com/.