Hello community,
I'm working on a project were I need to read several types of measurement files (basically text). In most cases, the files consist of a header and several additional lines like this:
Orginator "blah blah"
Descriptor "blah blah"
...........
...........
begin_data
0 1 2 3 4 5 6 7 8 9 ....... X
end_data
What I want is to:
1. Open the file
2. Analyze the file and search for strings named begin_data and end_data
3. Remove everything except the numbers between end_data and begin_data
4. Built a string array constisting only of the numbers then split the string using " " as separator
The begin_data and end_data strings are allways present but may vary in position.
Gratefull for any ideas and suggestions.
Vladimir

Nitin SontakkeRank #264 · 9.6K reputationPosted Apr 5, 2017, 8:40 PM EDT
Nitin SontakkeRank #264 · 9.6K reputationPosted Apr 5, 2017, 3:02 AM EDT
Vladimir Gajic57 reputationPosted Apr 5, 2017, 3:59 AM EDT
Amit GuptaRank #190 · 12.8K reputationPosted Apr 5, 2017, 4:09 AM EDT
Vladimir Gajic57 reputationPosted Apr 5, 2017, 4:58 AM EDT
Nitin SontakkeRank #264 · 9.6K reputationPosted Apr 5, 2017, 7:17 PM EDT
Vladimir Gajic57 reputationPosted Apr 5, 2017, 10:51 PM EDT
Vladimir Gajic57 reputationPosted Apr 6, 2017, 10:51 AM EDT
Vladimir Gajic57 reputationPosted Apr 6, 2017, 12:51 PM EDT
Vladimir Gajic57 reputationPosted Apr 6, 2017, 1:31 PM EDT
Nitin SontakkeRank #264 · 9.6K reputationPosted Apr 6, 2017, 7:14 PM EDT
Vladimir Gajic57 reputationPosted Apr 7, 2017, 1:12 AM EDT
Nitin SontakkeRank #264 · 9.6K reputationPosted Apr 7, 2017, 1:34 AM EDT
Vladimir Gajic57 reputationPosted Apr 7, 2017, 2:07 AM EDT
Nitin SontakkeRank #264 · 9.6K reputationPosted Apr 7, 2017, 2:19 AM EDT
Vladimir Gajic57 reputationPosted Apr 7, 2017, 3:05 AM EDT
Vladimir Gajic57 reputationPosted Apr 7, 2017, 5:56 AM EDT