# Simple Question: Text Files

**URL:** <https://forum.kirupa.com/t/simple-question-text-files/136815>\
**Category:** Uncategorized\
**Created:** [February 8, 2005, 7:10pm UTC](https://forum.kirupa.com/t/simple-question-text-files/136815 "2005-02-08T19:10:13Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sim085](https://avatars.discourse-cdn.com/v4/letter/s/dfb087/32.png) [@Sim085](https://forum.kirupa.com/u/Sim085)\
**Post date:** [February 8, 2005, 7:10pm UTC](https://forum.kirupa.com/t/simple-question-text-files/136815/1 "2005-02-08T19:10:13Z")

</div>

Hello to all,

First of all I hope you are fine, and all is good (yee I know licking some buts so maybe someone answers :D:D).

My problem is very simple. I have a text file full of names. let us say the text file like the one displayed below.

[TextFile]  
John Anderson  
Edward Goodwill  
Jason Freemen  
Adrian Lima

Now I wish to load these names inside an array. Now I successfully did this by using two text files. That is one that holds the names, and the other that holds the quantity.

However I was hoping that maybe i could do it with just one single file. Is this possible. Thanks in advance, hope the licking part will work :D!
