The simplest way is probably:
In reply to Answer: how to populate array with lines from text file? by mirod