I have read a file. Now I have all these lines of strings. I need to extract specific lines. These lines are between two lines with a specific string in them. There is no set amount of lines between them. Also, I have to match the two lines. For example, There may be the string in the first line, but there is no match, so I will get the same string after a number of lines. Then I have to see if that line has the match. I have no clue how to do this.
Red Flag Submitted
Thank you for helping keep Tek-Tips Forums free from inappropriate posts. The Tek-Tips staff will check this out and take appropriate action.
Reply To This Thread
Posting in the Tek-Tips forums is a member-only feature.