$read from txt file - 28/09/06 05:34 PM
Hi!
My problem is how to find the text from a specific line?
-----------------------
//echo $read(info.txt, s, mirc)
Scans the file info.txt for a line beginning with the word mirc and returns the text following the match value.
-----------------------
^ I'm trying to do this but I want only scan the specific line. (for example, only line 2). I don't want that this "s" scans the hole .txt until its find the word.
Is it possible to limit this "scanning"? Please help me. thx.
My problem is how to find the text from a specific line?
-----------------------
//echo $read(info.txt, s, mirc)
Scans the file info.txt for a line beginning with the word mirc and returns the text following the match value.
-----------------------
^ I'm trying to do this but I want only scan the specific line. (for example, only line 2). I don't want that this "s" scans the hole .txt until its find the word.
Is it possible to limit this "scanning"? Please help me. thx.