Chilkat2-Python
Chilkat2-Python
StringBuilder GetBetween
Demonstrates the GetBetween method.Chilkat Chilkat2-Python Downloads
import chilkat2
sb = chilkat2.StringBuilder()
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)