Parse from a Text file
| From: | Gerard | Date: | Thu, 21 Mar 2002 14:43:55 +0000 |
| Subject: | Parse from a Text file | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-89505@lists.php.net to get a copy of this message | ||
Hi all,
I'm newbiee into php and I need some help.
I would like to parse some data from a Text file after some character.
For example I have this text file:
1st line Broomfield / Jeffco, CO, United States (KBJC) 39-55N 105-07W
2nd line Jun 04, 2000 - 02:45 PM EST / 2002.03.04 1945 UTC
3rd line Wind: from the NE (050 degrees) at 9 MPH (8 KT):0
4th line Visibility: 30 mile(s):0
And I would like to take only some data from the 4th line "30mile(s):0" and
nothing else...
Can somebody explain me who to do it ?¿
Many thanks
Gerard