Hello everybody, I'm looking for a way for parsing strings.
I' ve something like this:
TOTAL C00 L240 WH00 WPI00 WEI00 WPL00 TDM15359
TEMP49.76 PDIR65535 PREF65535 I28RD65535
TOTAL C08 L230 WH00 WPI00 WEI00 WPL00 TDM15369
TEMP52.21 PDIR65535 PREF65535 I28RD65535
and I need to 'extrapolate' the numeric values in the strings into variables.
For example, I want the bold values in C00 L240 WH00 WPI00 WEI00 WPL00 TDM15359 saved in 3 variables.
How can I manage this problem?
Thx
fafy
I'm thinking to some function/class that make me able to set a pattern 'C..L..TDM...', similarly to the 'textread' function in Matlab