SRL Archive - C#/Visual Basic Help and Tutorials

Between Function


Tv-XxX

2008-09-16 12:05:23

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

2008-09-17 07:13:15

Use InStr to find the position of both phrases and then use mid to get what's in between them.