Created
November 19, 2015 11:34
-
-
Save wingedpanther/743654920f804b8412e6 to your computer and use it in GitHub Desktop.
GET_STRING_BETWEEN
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Function GET_STRING_BETWEEN(ByVal start As String, ByVal parent As String, ByVal [end] As String) | |
Dim output As String | |
output = parent.Substring(parent.IndexOf(start) _ | |
, (parent.IndexOf([end]) _ | |
- parent.IndexOf(start)) _ | |
).Replace(start, "").Replace([end], "") | |
output = start & output & [end] | |
Return output | |
End Function |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment