Sample code for 30+ languages & platforms
B4X

StringBuilder GetBetween

Demonstrates the GetBetween method.

Chilkat B4X Downloads

B4X
Dim sb As ChilkatStringBuilder
sb.Initialize
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>")
Log("Company Name = " & companyName)