C#
C#
StringBuilder GetBetween
Demonstrates the GetBetween method.Chilkat C# Downloads
Chilkat.StringBuilder sb = new Chilkat.StringBuilder();
sb.Append("<company><name>Chilkat Software</name></company>");
// For example, to get the company name in the string above...
string companyName = sb.GetBetween("<name>","</name>");
Debug.WriteLine("Company Name = " + companyName);