Hi
I need to read information from a text file.
I need to find the line when a certain name appears and
print this line.
I already did the first part, when i read the information from the file to a parameter, and than by the find function i found the position of the name inside the line.
My problem now is :
How do I take the whole line, I cannot use fixed number of character because the lines' size vary.
I was thinking to use the breaks in lines chr(13)&chr(10)
to specify where a line begin and where it ends.
But I don’t know how. Any suggestions?
Thank you.
I need to read information from a text file.
I need to find the line when a certain name appears and
print this line.
I already did the first part, when i read the information from the file to a parameter, and than by the find function i found the position of the name inside the line.
My problem now is :
How do I take the whole line, I cannot use fixed number of character because the lines' size vary.
I was thinking to use the breaks in lines chr(13)&chr(10)
to specify where a line begin and where it ends.
But I don’t know how. Any suggestions?
Thank you.