JavaScript
JavaScript
Example: Http.GetDomain method
Demonstrates theGetDomain method.
Note
This example is intended for running within a Chilkat.Js embedded JavaScript engine. All Chilkat JavaScript examples require Chilkat
v11.4.0 or greater.
var http = new CkHttp();
var domain = http.GetDomain("https://chilkatsoft.com/refdoc/csharp.asp");
console.log(domain);
// Output: chilkatsoft.com