From: Adam Kennedy Date: 2013-01-12T22:32:27+09:00 Subject: Re: How to take information from a text file and add them to an array Awesome thanks guys. Yeah my file is stored like: password1 password2 password3 So I need to split it using the \n? so the my_array adds all the information into an array then I can run a function like If password == my_array blah blah... then delete it afterwards? Sorry if that sounds confusing :) Adam K -- Posted via http://www.ruby-forum.com/.