Visual FoxPro
Visual FoxPro
StringBuilder GetBetween
Demonstrates the GetBetween method.Chilkat Visual FoxPro Downloads
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