Consider the following snippet
This snippet above is just a small part of the file. There is tons of text on either side.
But this part:
has some special features that I want to take advantage of in order to SPLIT the file.
This is the first location where FL_NAME begins using the "_<<integer>>" pattern, in this case it is "_1" because it is the first FL_NAME entry to use this formatting.
Where I want to split the file is at the instance of "FIELD=" that immediately precedes
the FIRST occurrence of the "_1" naming convention.
So, the first part of the file would end right before "FIELD="
The second part of the file would begin at the 'F' in "FIELD="
Does that make sense?
Caution is warranted because there are instances of both FIELD= and FL_NAME that precede this particular point in the file, but none of those instances have FL_NAME entries that end with "underscore integer" naming. I just want to find the first area where this happens and split the file as I described.
Many thanks for your speed.
( please provide working code in C#". If you can split my little snippet in 2 parts, I think it will work on the larger file as well, so you can use that for your test )