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 SontakkePosted Apr 6, 2017, 12:40 AM
Vladimir GajicPosted Apr 7, 2017, 9:56 AM
Vladimir GajicPosted Apr 7, 2017, 7:05 AM
Nitin SontakkePosted Apr 7, 2017, 6:19 AM
Vladimir GajicPosted Apr 7, 2017, 6:07 AM
Nitin SontakkePosted Apr 7, 2017, 5:34 AM
Vladimir GajicPosted Apr 7, 2017, 5:12 AM
Nitin SontakkePosted Apr 6, 2017, 11:14 PM
Vladimir GajicPosted Apr 6, 2017, 5:31 PM
Vladimir GajicPosted Apr 6, 2017, 4:51 PM
Vladimir GajicPosted Apr 6, 2017, 2:51 PM
Vladimir GajicPosted Apr 6, 2017, 2:51 AM
Nitin SontakkePosted Apr 5, 2017, 11:17 PM
Vladimir GajicPosted Apr 5, 2017, 8:58 AM
Amit GuptaPosted Apr 5, 2017, 8:09 AM
Vladimir GajicPosted Apr 5, 2017, 7:59 AM
Nitin SontakkePosted Apr 5, 2017, 7:02 AM