Sample code for 30+ languages & platforms
CkPython

StringBuilder GetBetween

Demonstrates the GetBetween method.

Chilkat CkPython Downloads

CkPython
import chilkat

sb = chilkat.CkStringBuilder()
sb.Append("<company><name>Chilkat Software</name></company>")

# For example, to get the company name in the string above...
companyName = sb.getBetween("<name>","</name>")
print("Company Name = " + companyName)