Perl
Perl
StringBuilder GetBetween
Demonstrates the GetBetween method.Chilkat Perl Downloads
use chilkat();
$sb = chilkat::CkStringBuilder->new();
$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 . "\r\n";