2-1539835.6575 15929379.5212 21557813.2993 160788.427 7.255715370 3.000544786 0.000000000 0.000000000
8161839.3166 21383720.9011 22472.364 15.505661964 12.938733101 0.000000000 0.000000000
6-16367803.9646 8777215.2755 18966585.7369 8622.296 7.626996517 3.081861258 0.000000000 0.000000000
12 10319234.0091 22682491.1109 9420420.2673 76193.326 10.942260742 5.002113819 0.000000000 0.000000000
5 1418783.8601 25717434.9790 6037905.1134 91470.809 8.528134346 3.454087973 0.000000000 0.000000000
14353047.1511 18912360.6428 46326.803 6.587877750 2.629315376 0.000000000 0.000000000
25 15318654.4114 11322561.0924 18494625.5473 2661.947 13.642467499 10.499597549 0.000000000 0.000000000
As shown above, to extract the red font data, GPS data, 1 s the refresh rate,
CodePudding user response:
No rules, otherwise can use the regularCodePudding user response:
Use a regular way, or a custom string,CodePudding user response:
A format specification?CodePudding user response:
Format instructions? The second row 7 position Numbers are said to be a few set of satellite data, after the first on behalf of the label of each line, after the three data on behalf of x, y, z coordinate information, separated by commas between each data, before comma? Now, judge the blank space is always wrongCodePudding user response:
This is the XYZ coordinateIt is easy to implement:
<2-1539835.6575 15929379.5212 21557813.2993
The space with StringList.Com maText can realize, replaced by a comma in English, as follows:
2, 1539835.6575, 15929379.5212, 21557813.2993
Idea: find out the first number, and starting from this position to find the first space, and then back from the space position query second Spaces, replace, repeat
Complete the
Then a string assigned to a TStringList variable, TStringList. Strings [0].. 3 is your four parameter
The original poster is too lazy