Sample code for 30+ languages & platforms
VB.NET

StringBuilder GetBetween

Demonstrates the GetBetween method.

Chilkat VB.NET Downloads

VB.NET
Dim sb As New Chilkat.StringBuilder
sb.Append("<company><name>Chilkat Software</name></company>")

' For example, to get the company name in the string above...
Dim companyName As String = sb.GetBetween("<name>","</name>")
Debug.WriteLine("Company Name = " & companyName)