I have strings containing variable data of different lenghts. I would like to extract 1 piece of information from each string. The only constant is that it is always the data before 'Class'. I have looked at using the InStr function but I cannot work out if this can be used to find the data before the the string to search for. In the examples below......
£30000 added, 3yo plus, 1m 4f, Class 1, £17013 penalty, 5 ran
3yo plus, 7f, Class 6, 6 ran
..... the data I want is 1m 4f and 7f
I hope it is very simple but I can't see the wood for the trees on this one
Thanks in advance
£30000 added, 3yo plus, 1m 4f, Class 1, £17013 penalty, 5 ran
3yo plus, 7f, Class 6, 6 ran
..... the data I want is 1m 4f and 7f
I hope it is very simple but I can't see the wood for the trees on this one
Thanks in advance