I've got several text files with lots of un-needed information in. I essentially want to read each line of the file and output everything after a certain phrase on each line to a text file eg:
Some rubbish not needed blah blah SPLITPHRASE Some useful info
So basically I want to go through each line and extract everything after SPLITPHRASE on each line. N.B The text file only contains spaces as delimiters
So far I've experimented with .substring, .linesplit, converting to CSV and many other things. I get the feeling it's probably going to be a really simple solution, but for some reason I seem to have just hit a brick wall!! Any help much appreciated
Edit: Also the length of the string before and after SPLITPHRASE is not fixed