Hi
I have a string & I want to grab certain elements out of the string & save them in an array. I have searched for an answer to this but I have not found a solution to what I am trying to do.
What I am trying to do:
Below is a string:
AWL,0.003,-0.001,0.003,0.004,0.004,0.004,0.003,989216,,17500,53,-18
I would like to grab the numbers in bold and store them each in separate array:
AWL,0.003,-0.001,0.003,0.004,0.004,0.004,0.003,989216,,17500,53,-18
I have found lots of ways to do this if I want all of the elements of the string but not how to do it when I only want certain parts.
Any advice? :)