Say I have an incoming string that varies a little:
" 1 |r|=1.2e10 |v|=2.4e10"" 12 |r|=-2.3e10 |v|=3.5e-04""134 |r|= 3.2e10 |v|=4.3e05"
I need to extract the numbers (ie. 1.2e10, 3.5e-04, etc)... so I would like to start at the end of '|r|' and grab all characters up to the ' ' (space) after it. Same for '|v|'
I've been looking for something that would: Extract a substring form a string starting at an index and ending on a specific character... But have not found anything remotely close. Ideas?
NOTE: Added new scenario, which is the one that is causing lots of head-scratching...