Sorry, then I misunderstood. In that case, regular expressions are probably your best option.
HTH, Tamas On Wed, Mar 04 2015, Nils Gudat <[email protected]> wrote: > Hi Tamas, > > Not sure I'm correct, but I think what you're suggesting won't work, as I > can't split by string2 separately - I only want to find substrings, that > are in between the combination "string1[10-15 characters]string2" and > "string3". As an example, I would need to find: > > string1XXXXXXXXXstring2DATAstring3 > string1XXXXstring2DATAstring3 > > but there's lots more mentions of string1 and string2 in the data set that > don't follow this pattern, for which I don't want to extract the following > substring.
