# Finding a return and using explode to sepate text after and before the return

**URL:** <https://forum.kirupa.com/t/finding-a-return-and-using-explode-to-sepate-text-after-and-before-the-return/70788>\
**Category:** programming\
**Created:** [November 17, 2004, 3:40pm UTC](https://forum.kirupa.com/t/finding-a-return-and-using-explode-to-sepate-text-after-and-before-the-return/70788 "2004-11-17T15:40:15Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![devinstar](https://avatars.discourse-cdn.com/v4/letter/d/e495f1/32.png) [@devinstar](https://forum.kirupa.com/u/devinstar)\
**Post date:** [November 17, 2004, 3:40pm UTC](https://forum.kirupa.com/t/finding-a-return-and-using-explode-to-sepate-text-after-and-before-the-return/70788/1 "2004-11-17T15:40:15Z")

</div>

Hi,

Lets get to the point.

I am pulling a .txt file in using php and want to separate the text within into seperate variables which flash can use, i can find the spaces and use this to seperate the text, is there however any way to find a return and use this as well to seperate the text.

Thanks
