Hi, I need to extract some info from a file. This is two rows from what the file looks like:
....etcetc until last row:
I want to extract prob from each row in the file and put it in a new file, but I don't know how to do it. I tried to use index to find each prob, but the thing is that the last row ends with prob=0.0093. , i.e. prob=0.0093 with a dot at the end, so when I search for 'index_end' which would be semicolon it works for all lines except the last one, which is a dot.
Edited 4 Years Ago by sofia85: n/a