If it's directly from a txt file, you might have better luck with the $_ variable
In reply to Re: How to read from a .txt by cyates in thread How to read from a .txt by stamp1982