PDA

View Full Version : Between Function



Tv-XxX
09-16-2008, 04:05 PM
In Scar We Can Do Stuff Like

NewString := Between('<html>', '</head>', OriginalString)

I Need To Do This In VB, Any Ideas On How To Do It?

Yours Tv.

nielsie95
09-17-2008, 11:13 AM
Use InStr to find the position of both phrases and then use mid to get what's in between them.