Read next line in file
#1

Hello,
How do I read from a file the next line from a file ?
for example :
File:
Код:
1#
Text 1
2#
Text 2
3#
Text 3
4#
Target text - This is my text ^.^
5#
Text 5
Now if I want to find number "4#" and read the text under that line and use it in the script,how do I do this without using any include ?
Reply


Messages In This Thread
Read next line in file - by Skillet` - 08.10.2012, 14:33
Re: Read next line in file - by Kwarde - 08.10.2012, 19:25
Re: Read next line in file - by Riddick94 - 08.10.2012, 19:27
Re: Read next line in file - by Kwarde - 08.10.2012, 19:29
Re: Read next line in file - by Riddick94 - 08.10.2012, 19:31
Re: Read next line in file - by Kwarde - 08.10.2012, 19:33
Re: Read next line in file - by ReneG - 08.10.2012, 22:32
Re: Read next line in file - by Skillet` - 08.10.2012, 23:56
Re: Read next line in file - by ReneG - 09.10.2012, 01:06

Forum Jump:


Users browsing this thread: 2 Guest(s)