Sample code for 30+ languages & platforms
Node.js

StringBuilder GetBetween

Demonstrates the GetBetween method.

Chilkat Node.js Downloads

Node.js
NODEJS_PRELUDE

function chilkatExample() {

    var sb = new chilkat.StringBuilder();
    sb.Append("<company><name>Chilkat Software</name></company>");

    //  For example, to get the company name in the string above...
    var companyName = sb.GetBetween("<name>","</name>");
    console.log("Company Name = " + companyName);

}

chilkatExample();