It searched for "fromString" and "toString" Strings with the InStr() function. If it finds theme it returns the String in the middle of theme with the Mid() function.

You can actually use this function to parse out any tag/s