From: Joel Pearson Date: 2013-01-12T22:26:50+09:00 Subject: Re: How to take information from a text file and add them to an array Exactly what you do depends on how your input is formatted, but say you had one name per line: my_array = File.open("example.txt", "r").read.split("\n") my_array.delete '' p my_array -- Posted via http://www.ruby-forum.com/.