From: Adam Kennedy Date: 2013-01-12T23:00:33+09:00 Subject: Re: How to take information from a text file and add them to an array So If I have a variable with a password in such as pswd = example. And in the text file there is 50 different user passwords. How can I make a function that picks out the single word from the line of 50? -- Posted via http://www.ruby-forum.com/.