From 04:00 PM CDT – 08:00 PM CDT (09:00 PM UTC – 01:00 AM UTC) Tuesday, April 16, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

seperate numbers from a file

Hi,
 
I have a text file which looks like this
 
------------------------
N1 G98 G21 G34
N2 G43 G87 G92
and so on......
------------------------
 
I want to seperate all the numbers that appear after each 'G' and put it in an array. For example, in the above example, I want to store 98, 21, 34, 43, 87 and 92 in an array. Please help me out with this.
 
Regards
Cruiser Controls
Mumbai, India
0 Kudos
Message 1 of 2
(2,091 Views)

Hi,

Check annex file,

Hope it helps,

Paulo

0 Kudos
Message 2 of 2
(2,086 Views)