Get The Substring of a String Between Two Given Substrings
Version Compatibility: Visual Basic 6, Visual Basic.NET
This function returns the substring found between to given strings. Usage: midReturn("something", "someone", "If you find something it probably belongs to someone or maybe not"). This would return "it probably belongs to."
Instructions: Copy the declarations and code below and paste directly into your VB project.