Page 1 of 1
Get a specific string from a text file
Posted: Tue Dec 15, 2009 6:31 am
by klevis miho
How can I grab a string (for example "example string") from a given text file?
Re: Get a specific string from a text file
Posted: Tue Dec 15, 2009 7:26 am
by jackpf
What's the point in taking it from a text file if you already know what the string is?
Do you mean you want to read the file's contents?
Re: Get a specific string from a text file
Posted: Tue Dec 15, 2009 7:52 am
by klevis miho
for example I want to grab with cURL function a website, and I just need just one div to get.
Re: Get a specific string from a text file
Posted: Tue Dec 15, 2009 8:06 am
by jsemmanuel