It is too long ! (var)

Hi all,

I have data that I send from php to flash. I insert this data into a flash variable and when I trace it I see too many lines. I only want the first line.
How can I tell flash to take into my flash variable only the first line of data?

Example:

Data from PHP: 123.txt <div>Test</div>
I need: 123.txt only

Thanks,
A.O