I have 2 reports that I have to compare. In one report, I get the text string I need to compare, but with extra text appended to it. How can I use a RIGHT or LEFT to extract only the needed text when it is of variable length?
Example
textstring1don't want this
textstringtextstring1don't want this
The output I'm looking for is:
textstring1
textstringtextrstring1
The part I can't figure out is how to deal with the variable length of the "good" text string.
Thanks