Sample code for 30+ languages & platforms
Visual FoxPro

StringBuilder GetBetween

Demonstrates the GetBetween method.

Chilkat Visual FoxPro Downloads

Visual FoxPro
LOCAL loSb
LOCAL lcCompanyName

loSb = CreateObject('Chilkat.StringBuilder')
loSb.Append("<company><name>Chilkat Software</name></company>")

* For example, to get the company name in the string above...
lcCompanyName = loSb.GetBetween("<name>","</name>")
? "Company Name = " + lcCompanyName

RELEASE loSb