Extract Text Between Two Flags With an Offset
Version Compatibility: Visual Basic 6
Useful for getting text extracted from a long string (eg, HTML retrieved back) when having to use one-off opening flags. Ie, you need to get a piece of text from a string but you need to find where to start after finding one target flag first. See snippet comment block for more information. I wrote this specifically to help with extracting desired text from large, complicated HTML source.
Instructions: Copy the declarations and code below and paste directly into your VB project.