Sample code for 30+ languages & platforms
Xbase++

Example: Http.GetDomain method

Demonstrates the GetDomain method.

Chilkat Xbase++ Downloads

Xbase++
LOCAL oHttp
LOCAL cDomain

oHttp := CreateObject("Chilkat.Http")

cDomain := oHttp:GetDomain("https://chilkatsoft.com/refdoc/csharp.asp")
? cDomain

//  Output: chilkatsoft.com

oHttp:destroy()