DataFlex
DataFlex
StringBuilder GetBetween
Demonstrates the GetBetween method.Chilkat DataFlex Downloads
Use ChilkatAx-win32.pkg
Procedure Test
Handle hoSb
Boolean iSuccess
String sCompanyName
Get Create (RefClass(cComChilkatStringBuilder)) To hoSb
If (Not(IsComObjectCreated(hoSb))) Begin
Send CreateComObject of hoSb
End
Get ComAppend Of hoSb "<company><name>Chilkat Software</name></company>" To iSuccess
// For example, to get the company name in the string above...
Get ComGetBetween Of hoSb "<name>" "</name>" To sCompanyName
Showln "Company Name = " sCompanyName
End_Procedure